+ temp. monitor systemd service and timer
Signed-off-by: Ferit Yiğit BALABAN <fybalaban@fybx.dev>
This commit is contained in:
parent
c942af6b08
commit
9525c38c1c
7
monitor_temp.service
Normal file
7
monitor_temp.service
Normal 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
10
monitor_temp.timer
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Runs temperature monitoring every minute
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=*-*-* *:*:00
|
||||||
|
Persistent=true
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user