added install files

This commit is contained in:
2025-03-05 17:57:31 +01:00
parent 3b3d77b971
commit d4ae7e43df
4 changed files with 24 additions and 8 deletions
+18
View File
@@ -0,0 +1,18 @@
[Unit]
Description=CPU Governor Auto Adjust service
After=network.target
[Service]
Type=simple
User=root
Group=root
WorkingDirectory=/opt/cpu_governor_auto_adjust
ExecStart=/opt/cpu_governor_auto_adjust/start.sh
Restart=always
RestartSec=5
Environment="PATH=/opt/cpu_governor_auto_adjust/.venv/bin"
StandardOutput=append:/var/log/cpu_governor_auto_adjust.log
StandardError=append:/var/log/cpu_governor_auto_adjust.log
[Install]
WantedBy=multi-user.target