diff --git a/node-daemon/pvc-flush.service b/node-daemon/pvc-flush.service index 88d02093..5d9fb101 100644 --- a/node-daemon/pvc-flush.service +++ b/node-daemon/pvc-flush.service @@ -9,6 +9,7 @@ PartOf = pvc.target Type = oneshot RemainAfterExit = true WorkingDirectory = /usr/share/pvc +TimeoutSec = 30min ExecStartPre = /bin/sleep 30 ExecStart = /usr/bin/pvc -c local node unflush --wait ExecStop = /usr/bin/pvc -c local node flush --wait