This commit is contained in:
14
sanity.service
Normal file
14
sanity.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=sanity backup monitor
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
WorkingDirectory=/opt/sanity
|
||||
ExecStart=/opt/sanity/sanity --config /opt/sanity/config.yaml
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user