pvc/node-daemon/pvc-flush.service

15 lines
296 B
SYSTEMD

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