Actually restart RLGWebD if it crashes.

Also, rlgwebd-stop will no longer crash if RLGWebD has already stopped.
This commit is contained in:
John "Elwin" Edwards 2016-04-23 18:53:08 -04:00
parent ba487995e0
commit 2baaad79dd
2 changed files with 17 additions and 6 deletions

View file

@ -7,6 +7,7 @@ Type=simple
Environment=NODE_PATH=/usr/lib/node_modules
ExecStart=/usr/local/bin/rlgwebd
ExecStop=/usr/local/bin/rlgwebd-stop
Restart=on-failure
[Install]
WantedBy=multi-user.target