mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2024-11-25 01:33:34 +01:00
wait for wiki backup to finish before starting borg
This commit is contained in:
parent
dbc4a2947b
commit
5964b0b0d1
@ -165,7 +165,7 @@ in
|
||||
|
||||
preHook = ''
|
||||
set -x
|
||||
${config.systemd.package}/bin/systemctl start wiki-backup
|
||||
${config.systemd.package}/bin/systemctl start --wait wiki-backup
|
||||
set +x
|
||||
'';
|
||||
postHook = ''
|
||||
|
Loading…
Reference in New Issue
Block a user