[#3] Add alternative shutdown functions to allow flushing on non-SIGHUP shutdowns

This commit is contained in:
2018-06-25 23:03:21 -04:00
parent ba72cf4d05
commit d0dc923d92
2 changed files with 21 additions and 3 deletions

View File

@ -9,6 +9,7 @@ WorkingDirectory = /usr/share/pvc
Environment = PYTHONUNBUFFERED=true
Environment = PVCD_CONFIG_FILE=/etc/pvc/pvcd.conf
ExecStart = /usr/share/pvc/pvcd.py
ExecReload = /bin/kill -HUP $MAINPID
Restart = on-failure
[Install]