16 lines
424 B
SYSTEMD
16 lines
424 B
SYSTEMD
# Parallel Virtual Cluster node daemon unit file
|
|
[Unit]
|
|
Description = Parallel Virtual Cluster node daemon
|
|
After = network-online.target libvirtd.service zookeeper.service mariadb.service
|
|
|
|
[Service]
|
|
Type = simple
|
|
WorkingDirectory = /usr/share/pvc
|
|
Environment = PYTHONUNBUFFERED=true
|
|
Environment = PVCD_CONFIG_FILE=/etc/pvc/pvcd.yaml
|
|
ExecStart = /usr/share/pvc/pvcd.py
|
|
Restart = never
|
|
|
|
[Install]
|
|
WantedBy = multi-user.target
|