mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-20 20:22:46 +00:00
feature(systemd): add reload command
This commit is contained in:
parent
ba46e3a63a
commit
4f3a91cda7
@ -8,6 +8,7 @@ User=tunasync
|
|||||||
PermissionsStartOnly=true
|
PermissionsStartOnly=true
|
||||||
ExecStartPre=/usr/bin/cgcreate -t tunasync -a tunasync -g cpu:tunasync
|
ExecStartPre=/usr/bin/cgcreate -t tunasync -a tunasync -g cpu:tunasync
|
||||||
ExecStart=/home/bin/tunasync worker -c /etc/tunasync/worker.conf --with-systemd
|
ExecStart=/home/bin/tunasync worker -c /etc/tunasync/worker.conf --with-systemd
|
||||||
|
ExecReload=/bin/kill -SIGHUP $MAINPID
|
||||||
ExecStopPost=/usr/bin/cgdelete cpu:tunasync
|
ExecStopPost=/usr/bin/cgdelete cpu:tunasync
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user