2019-05-23 22:38:45 -04:00
|
|
|
# Parallel Virtual Cluster autoflush daemon
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description = Parallel Virtual Cluster autoflush daemon
|
|
|
|
After = pvcd.service
|
2019-05-23 23:01:58 -04:00
|
|
|
PartOf = pvcd.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
|
|
|
|
ExecStart = /usr/bin/pvc node unflush
|
2019-05-23 23:01:58 -04:00
|
|
|
ExecStop = /usr/bin/pvc node flush --wait
|
2019-05-23 22:38:45 -04:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy = pvcd.target
|