Fix the flush service

This commit is contained in:
Joshua Boniface 2020-01-11 17:04:12 -05:00
parent 1683a638cf
commit 1671a87dd4
1 changed files with 4 additions and 4 deletions

View File

@ -9,10 +9,10 @@ PartOf = pvcd.target
Type = oneshot Type = oneshot
RemainAfterExit = true RemainAfterExit = true
WorkingDirectory = /usr/share/pvc WorkingDirectory = /usr/share/pvc
ExecPreStart = /bin/sleep 30 ExecStartPre = /bin/sleep 30
ExecStart = /usr/bin/pvc node unflush --wait ExecStart = /usr/bin/pvc -c local node unflush --wait
ExecStop = /usr/bin/pvc node flush --wait ExecStop = /usr/bin/pvc -c local node flush --wait
ExecPostStop = /bin/sleep 30 ExecStopPost = /bin/sleep 30
[Install] [Install]
WantedBy = pvcd.target WantedBy = pvcd.target