pvc/node-daemon/pvcnoded.service

21 lines
479 B
SYSTEMD
Raw Normal View History

2018-10-25 23:28:30 -04:00
# Parallel Virtual Cluster node daemon unit file
2018-06-14 12:31:06 -04:00
[Unit]
Description = Parallel Virtual Cluster node daemon
After = network.target
Wants = network-online.target
PartOf = pvc.target
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
Environment = PVCD_CONFIG_FILE=/etc/pvc/pvcnoded.yaml
ExecStartPre = /bin/sleep 2
ExecStart = /usr/share/pvc/pvcnoded.py
ExecStopPost = /bin/sleep 2
2019-03-12 23:18:28 -04:00
Restart = on-failure
2018-06-14 12:31:06 -04:00
[Install]
WantedBy = pvc.target