Compare commits
1 Commits
7741523087
...
f587ea19f4
Author | SHA1 | Date |
---|---|---|
wpetit | f587ea19f4 |
|
@ -4,7 +4,7 @@ After=docker.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
WorkingDirectory=/mnt/data/backup
|
WorkingDirectory=/opt/sentry-backup
|
||||||
ExecStartPre=/bin/sh -c 'systemctl -q is-active sentry.service && systemctl stop sentry'
|
ExecStartPre=/bin/sh -c 'systemctl -q is-active sentry.service && systemctl stop sentry'
|
||||||
ExecStart=/opt/sentry-util/sentry-util.sh backup
|
ExecStart=/opt/sentry-util/sentry-util.sh backup
|
||||||
ExecStartPost=/bin/sh -c 'systemctl start sentry'
|
ExecStartPost=/bin/sh -c 'systemctl start sentry'
|
||||||
|
|
Loading…
Reference in New Issue