Wait 10 seconds when starting pvc-flush

Without waiting the unflush will trigger too soon, before the
daemon is fully ready and such it fails in odd ways.
This commit is contained in:
Joshua Boniface 2019-05-23 23:35:01 -04:00
parent e8b666708c
commit ae37afcf75
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ PartOf = pvcd.target
Type = oneshot
RemainAfterExit = true
WorkingDirectory = /usr/share/pvc
ExecPreStart = /bin/sleep 10
ExecStart = /usr/bin/pvc node unflush
ExecStop = /usr/bin/pvc node flush --wait