Wait on both sides for 30s
Still finding issues with the flush
This commit is contained in:
parent
703e34e8ea
commit
14e9ba892c
|
@ -9,9 +9,10 @@ PartOf = pvcd.target
|
||||||
Type = oneshot
|
Type = oneshot
|
||||||
RemainAfterExit = true
|
RemainAfterExit = true
|
||||||
WorkingDirectory = /usr/share/pvc
|
WorkingDirectory = /usr/share/pvc
|
||||||
ExecPreStart = /bin/sleep 10
|
ExecPreStart = /bin/sleep 30
|
||||||
ExecStart = /usr/bin/pvc node unflush
|
ExecStart = /usr/bin/pvc node unflush --wait
|
||||||
ExecStop = /usr/bin/pvc node flush --wait
|
ExecStop = /usr/bin/pvc node flush --wait
|
||||||
|
ExecPostStop = /bin/sleep 30
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy = pvcd.target
|
WantedBy = pvcd.target
|
||||||
|
|
Loading…
Reference in New Issue