change service

This commit is contained in:
YouROK
2020-12-28 12:40:38 +03:00
parent 8df70af3ec
commit 611f9e955b

View File

@@ -1,10 +1,15 @@
[Unit]
Description=TorrServer
Description = Torrserver
After = syslog.target network.target nss-lookup.target
[Service]
Type = simple
ExecStart=/bin/torrserver
ExecStart = /path/to/torrserver -d /path/to/db/
ExecReload = /bin/kill -HUP ${MAINPID}
ExecStop = /bin/kill -INT ${MAINPID}
TimeoutSec = 30
Restart = on-failure
LimitNOFILE = 4096
[Install]
WantedBy = multi-user.target