+ temp. monitor systemd service and timer

Signed-off-by: Ferit Yiğit BALABAN <fybalaban@fybx.dev>
This commit is contained in:
Ferit Yiğit BALABAN 2023-11-17 18:17:07 +03:00
parent c942af6b08
commit 9525c38c1c
Signed by: fyb
GPG Key ID: E21FEB2C244CB7EB
2 changed files with 17 additions and 0 deletions

7
monitor_temp.service Normal file
View File

@ -0,0 +1,7 @@
[Unit]
Description=Monitors core temperature and runs GPIO fan
[Service]
Type=simple
ExecStart=/opt/fan_control 55 5

10
monitor_temp.timer Normal file
View File

@ -0,0 +1,10 @@
[Unit]
Description=Runs temperature monitoring every minute
[Timer]
OnCalendar=*-*-* *:*:00
Persistent=true
[Install]
WantedBy=timers.target