From 1671a87dd4e3d1f29c12d19bfa34456d85455bcb Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 11 Jan 2020 17:04:12 -0500 Subject: [PATCH] Fix the flush service --- node-daemon/pvc-flush.service | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/node-daemon/pvc-flush.service b/node-daemon/pvc-flush.service index 36c71be1..e9d76668 100644 --- a/node-daemon/pvc-flush.service +++ b/node-daemon/pvc-flush.service @@ -9,10 +9,10 @@ PartOf = pvcd.target Type = oneshot RemainAfterExit = true WorkingDirectory = /usr/share/pvc -ExecPreStart = /bin/sleep 30 -ExecStart = /usr/bin/pvc node unflush --wait -ExecStop = /usr/bin/pvc node flush --wait -ExecPostStop = /bin/sleep 30 +ExecStartPre = /bin/sleep 30 +ExecStart = /usr/bin/pvc -c local node unflush --wait +ExecStop = /usr/bin/pvc -c local node flush --wait +ExecStopPost = /bin/sleep 30 [Install] WantedBy = pvcd.target