add first version
This commit is contained in:
11
ups_shutdown.service
Normal file
11
ups_shutdown.service
Normal file
@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Service to manage UPS shutdown script
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/python3 /usr/local/bin/shutdown_ups.py
|
||||
Restart=always
|
||||
RestartSec=5s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user