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:
parent
e8b666708c
commit
ae37afcf75
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue