Update service file to auto-restart via systemd

bibrec4static
autocat 2019-10-11 21:27:53 -04:00
parent 7b85c46b24
commit 31c9bb261e
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ ExecStart=/usr/local/bin/pipenv run python CherryPyApp.py
#
# These next lines are for auto-restart. See: man systemd.service
Type=simple
#PIDFile=/var/run/autocat/autocat3.pid
PIDFile=/var/run/autocat/autocat3.pid
RemainAfterExit=no
Restart=on-failure
RestartSec=5s