diff rlgwebd.service @ 200:a7cc38a0168d

Actually restart RLGWebD if it crashes. Also, rlgwebd-stop will no longer crash if RLGWebD has already stopped.
author John "Elwin" Edwards
date Sat, 23 Apr 2016 18:53:08 -0400
parents 3bdee6371c3f
children 2667aaad8e08
line wrap: on
line diff
--- a/rlgwebd.service	Mon Feb 01 21:20:12 2016 -0500
+++ b/rlgwebd.service	Sat Apr 23 18:53:08 2016 -0400
@@ -7,6 +7,7 @@
 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