2018-06-14 12:31:06 -04:00
|
|
|
# Parallel Virtual Cluster node daemon unit file
|
|
|
|
[Unit]
|
|
|
|
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
|
|
|
|
WorkingDirectory = /var/home/joshua/pvc
|
|
|
|
Environment = PYTHONUNBUFFERED=true
|
|
|
|
Environment = PVCD_CONFIG_FILE=/etc/pvcd.conf
|
|
|
|
#ExecStartPre = /bin/bash -c "GIT_SSH_COMMAND='/usr/bin/ssh -i /srv/git-deploy.key' /usr/bin/git pull"
|
|
|
|
ExecStart = /var/home/joshua/pvc/pvcd.py
|
|
|
|
Restart = on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy = multi-user.target
|