2018-09-12 12:09:52 -04:00
|
|
|
# Parallel Virtual Cluster virtualization daemon unit file
|
2018-06-14 12:31:06 -04:00
|
|
|
[Unit]
|
2018-10-14 02:01:35 -04:00
|
|
|
Description = Parallel Virtual Cluster node daemon
|
2018-06-16 21:18:25 -04:00
|
|
|
After = network-online.target libvirtd.service zookeeper.service
|
2018-06-14 12:31:06 -04:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type = simple
|
2018-06-17 14:55:13 -04:00
|
|
|
WorkingDirectory = /usr/share/pvc
|
2018-06-14 12:31:06 -04:00
|
|
|
Environment = PYTHONUNBUFFERED=true
|
2018-10-14 02:01:35 -04:00
|
|
|
Environment = PVCD_CONFIG_FILE=/etc/pvc/pvcd.conf
|
|
|
|
ExecStart = /usr/share/pvc/pvcd.py
|
2018-09-30 18:10:56 -04:00
|
|
|
KillSignal = SIGINT
|
2018-10-17 20:05:22 -04:00
|
|
|
Restart = never
|
2018-06-14 12:31:06 -04:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy = multi-user.target
|