feat: add standalone capability-based cooling plugin
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=PIGWay optional Yahboom cooling HAT plugin
|
||||
After=local-fs.target systemd-modules-load.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Group=pigway-hardware
|
||||
ExecStart=/usr/bin/python3 /usr/local/lib/pigway-cooling-hat/service.py
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
RuntimeDirectory=pigway-plugins/yahboom-cooling-hat
|
||||
RuntimeDirectoryMode=0750
|
||||
UMask=0027
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user