2019-05-23 22:38:45 -04:00
|
|
|
# Parallel Virtual Cluster autoflush daemon
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description = Parallel Virtual Cluster autoflush daemon
|
2020-02-08 19:16:19 -05:00
|
|
|
After = pvcnoded.service
|
2020-04-01 15:09:44 -04:00
|
|
|
Requires = pvcnoded.service
|
2020-02-08 19:16:19 -05:00
|
|
|
PartOf = pvc.target
|
2019-05-23 22:38:45 -04:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type = oneshot
|
2019-05-23 23:01:58 -04:00
|
|
|
RemainAfterExit = true
|
2019-05-23 22:38:45 -04:00
|
|
|
WorkingDirectory = /usr/share/pvc
|
2020-04-01 01:24:09 -04:00
|
|
|
TimeoutSec = 30min
|
2020-04-01 15:09:44 -04:00
|
|
|
ExecStartPre = /bin/sleep 15
|
2020-01-11 17:04:12 -05:00
|
|
|
ExecStart = /usr/bin/pvc -c local node unflush --wait
|
|
|
|
ExecStop = /usr/bin/pvc -c local node flush --wait
|
2020-04-01 15:09:44 -04:00
|
|
|
ExecStopPost = /bin/sleep 5
|
2019-05-23 22:38:45 -04:00
|
|
|
|
|
|
|
[Install]
|
2020-02-08 19:16:19 -05:00
|
|
|
WantedBy = pvc.target
|