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
|
||||
RemainAfterExit = true
|
||||
WorkingDirectory = /usr/share/pvc
|
||||
ExecPreStart = /bin/sleep 10
|
||||
ExecStart = /usr/bin/pvc node unflush
|
||||
ExecPreStart = /bin/sleep 30
|
||||
ExecStart = /usr/bin/pvc node unflush --wait
|
||||
ExecStop = /usr/bin/pvc node flush --wait
|
||||
ExecPostStop = /bin/sleep 30
|
||||
|
||||
[Install]
|
||||
WantedBy = pvcd.target
|
||||
|
|
Loading…
Reference in New Issue