Wait on both sides for 30s

Still finding issues with the flush
This commit is contained in:
Joshua Boniface 2019-05-24 01:23:18 -04:00
parent 703e34e8ea
commit 14e9ba892c
1 changed files with 3 additions and 2 deletions

View File

@ -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