mynode/rootfs/rockpro64/etc/systemd/system/fan_control.service

21 lines
353 B
SYSTEMD
Raw Normal View History

2020-02-10 01:36:09 +00:00
# myNode Fan Control (RockPro64)
# /etc/systemd/system/fan_control.service
[Unit]
Description=myNode Fan Control
[Service]
Type=simple
KillMode=control-group
ExecStart=/usr/bin/fan_control.py
User=root
Group=root
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=mynode_fan
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target