Fix bigbrother-core.service: Type=forking + PIDFile for daemon mode
This commit is contained in:
@@ -4,7 +4,8 @@ After=network-online.target
|
|||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=forking
|
||||||
|
PIDFile=/tmp/.bb.pid
|
||||||
ExecStart=/opt/.cache/bb/.venv/bin/python3 /opt/.cache/bb/bigbrother.py start --daemon
|
ExecStart=/opt/.cache/bb/.venv/bin/python3 /opt/.cache/bb/bigbrother.py start --daemon
|
||||||
WorkingDirectory=/opt/.cache/bb
|
WorkingDirectory=/opt/.cache/bb
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|||||||
Reference in New Issue
Block a user