pvc/node-daemon/pvc-flush.service
Joshua M. Boniface ae37afcf75 Wait 10 seconds when starting pvc-flush
Without waiting the unflush will trigger too soon, before the
daemon is fully ready and such it fails in odd ways.
2019-05-23 23:35:01 -04:00

18 lines
376 B
Desktop File

# Parallel Virtual Cluster autoflush daemon
[Unit]
Description = Parallel Virtual Cluster autoflush daemon
After = pvcd.service
PartOf = pvcd.target
[Service]
Type = oneshot
RemainAfterExit = true
WorkingDirectory = /usr/share/pvc
ExecPreStart = /bin/sleep 10
ExecStart = /usr/bin/pvc node unflush
ExecStop = /usr/bin/pvc node flush --wait
[Install]
WantedBy = pvcd.target