18 lines
399 B
Desktop File
18 lines
399 B
Desktop File
[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
|