11 lines
230 B
Desktop File
11 lines
230 B
Desktop File
[Unit]
|
|
Description=Service to manage UPS shutdown script
|
|
After=network.target
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/python3 /usr/local/bin/shutdown_ups.py 10.31.41.46 4 20
|
|
Restart=always
|
|
RestartSec=5s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |