Fix the flush service
This commit is contained in:
parent
1683a638cf
commit
1671a87dd4
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue