feature(systemd): add reload command

This commit is contained in:
bigeagle 2016-05-02 22:32:31 +08:00
parent ba46e3a63a
commit 4f3a91cda7
No known key found for this signature in database
GPG Key ID: 9171A4571C27920A

View File

@ -8,6 +8,7 @@ User=tunasync
PermissionsStartOnly=true
ExecStartPre=/usr/bin/cgcreate -t tunasync -a tunasync -g cpu:tunasync
ExecStart=/home/bin/tunasync worker -c /etc/tunasync/worker.conf --with-systemd
ExecReload=/bin/kill -SIGHUP $MAINPID
ExecStopPost=/usr/bin/cgdelete cpu:tunasync
[Install]