10 lines
251 B
Desktop File
10 lines
251 B
Desktop File
[Unit]
|
|
Description=Ensure backup server is online
|
|
StopWhenUnneeded=yes
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=backupuser
|
|
ExecStart=/opt/backuprunner/scripts/backupserver-poweron.sh
|
|
ExecStop=/opt/backuprunner/scripts/backupserver-shutdown.sh
|
|
RemainAfterExit=yes
|