m1s_ups_control/m1s_ups.service

16 lines
216 B
SYSTEMD
Raw Normal View History

2024-04-29 07:04:45 +00:00
Description=Check the M1S_UPS status
After=syslog.target
[Service]
Type=simple
User=root
# working directory
WorkingDirectory=/etc/m1s_ups/
ExecStart=python3 -u ./service.py
[Install]
WantedBy=multi-user.target