mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
change service
This commit is contained in:
@@ -1,10 +1,15 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=TorrServer
|
Description = Torrserver
|
||||||
|
After = syslog.target network.target nss-lookup.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
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]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy = multi-user.target
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user