Files
bigbrother/services/bigbrother-core.service

24 lines
475 B
Desktop File

[Unit]
Description=System Thermal Management Daemon
After=network-online.target
Wants=network-online.target
[Service]
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
RestartSec=10
TimeoutStartSec=60
User=root
StandardOutput=null
StandardError=null
MemoryMax=600M
MemorySwapMax=200M
CPUQuota=200%
OOMScoreAdj=200
[Install]
WantedBy=multi-user.target