diff options
Diffstat (limited to 'templates/service.tmpl')
| -rw-r--r-- | templates/service.tmpl | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/templates/service.tmpl b/templates/service.tmpl deleted file mode 100644 index 87389f0..0000000 --- a/templates/service.tmpl +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | [Unit] | ||
| 2 | Description={{.Name}} | ||
| 3 | After=network.target | ||
| 4 | |||
| 5 | [Service] | ||
| 6 | Type=simple | ||
| 7 | User={{.User}} | ||
| 8 | WorkingDirectory={{.WorkDir}} | ||
| 9 | EnvironmentFile={{.EnvFile}} | ||
| 10 | ExecStart={{.BinaryPath}} --port={{.Port}} | ||
| 11 | Restart=always | ||
| 12 | RestartSec=5s | ||
| 13 | NoNewPrivileges=true | ||
| 14 | PrivateTmp=true | ||
| 15 | |||
| 16 | [Install] | ||
| 17 | WantedBy=multi-user.target | ||
