apc_snmp_shutdown/ups_shutdown.service
2024-08-13 04:46:18 +03:00

11 lines
196 B
Desktop File

[Unit]
Description=Service to manage UPS shutdown script
After=network.target
[Service]
ExecStart=/usr/local/bin/shutdown_ups.py
Restart=always
RestartSec=5s
[Install]
WantedBy=multi-user.target