2024-08-13 04:18:53 +03:00
|
|
|
[Unit]
|
|
|
|
Description=Service to manage UPS shutdown script
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2024-08-13 04:46:18 +03:00
|
|
|
ExecStart=/usr/local/bin/shutdown_ups.py
|
2024-08-13 04:18:53 +03:00
|
|
|
Restart=always
|
|
|
|
RestartSec=5s
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|