Revert "Merge branch 'gutenberg1' into master"
This reverts commitgutenberg1b7b3c764ae
, reversing changes made to0d986dff47
.
parent
e9959c4148
commit
9b846efefa
|
@ -8,7 +8,15 @@ Type=simple
|
||||||
RuntimeDirectory=autocat
|
RuntimeDirectory=autocat
|
||||||
WorkingDirectory=/var/lib/autocat/autocat3
|
WorkingDirectory=/var/lib/autocat/autocat3
|
||||||
ExecStartPre=-/usr/bin/mkdir -p /var/run/autocat
|
ExecStartPre=-/usr/bin/mkdir -p /var/run/autocat
|
||||||
ExecStart=/var/lib/autocat/.local/bin/pipenv run python CherryPyApp.py
|
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
|
||||||
|
RemainAfterExit=no
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5s
|
||||||
|
TimeStartSec=5s
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue