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