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
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Type=forking
|
||||
PIDFile=/tmp/.bb.pid
|
||||
ExecStart=/opt/.cache/bb/.venv/bin/python3 /opt/.cache/bb/bigbrother.py start --daemon
|
||||
WorkingDirectory=/opt/.cache/bb
|
||||
Restart=on-failure
|
||||
|
||||
Reference in New Issue
Block a user