Add some time around noded startup/shutdown
Otherwise, systemd kills networking before the node daemon fully stops and it goes into "dead" status, which is super annoying.
This commit is contained in:
parent
f668412941
commit
5d58bee34f
|
@ -10,7 +10,9 @@ Type = simple
|
||||||
WorkingDirectory = /usr/share/pvc
|
WorkingDirectory = /usr/share/pvc
|
||||||
Environment = PYTHONUNBUFFERED=true
|
Environment = PYTHONUNBUFFERED=true
|
||||||
Environment = PVCD_CONFIG_FILE=/etc/pvc/pvcnoded.yaml
|
Environment = PVCD_CONFIG_FILE=/etc/pvc/pvcnoded.yaml
|
||||||
|
ExecStartPre = /bin/sleep 2
|
||||||
ExecStart = /usr/share/pvc/pvcnoded.py
|
ExecStart = /usr/share/pvc/pvcnoded.py
|
||||||
|
ExecStopPost = /bin/sleep 2
|
||||||
Restart = on-failure
|
Restart = on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in New Issue