Perform additional tweaks to units
Use RemainAfterExit to avoid pvc-flush from auto-stopping immediately. Use PartOf to tie services to the target itself. Use --wait on flush to avoid daemon stopping before flush is complete.
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
[Unit]
|
||||
Description = Parallel Virtual Cluster node daemon
|
||||
After = network-online.target libvirtd.service zookeeper.service
|
||||
PartOf = pvcd.target
|
||||
|
||||
[Service]
|
||||
Type = simple
|
||||
|
Reference in New Issue
Block a user