comparison 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
comparison
equal deleted inserted replaced
199:34e1bc4fd6b2 200:a7cc38a0168d
5 [Service] 5 [Service]
6 Type=simple 6 Type=simple
7 Environment=NODE_PATH=/usr/lib/node_modules 7 Environment=NODE_PATH=/usr/lib/node_modules
8 ExecStart=/usr/local/bin/rlgwebd 8 ExecStart=/usr/local/bin/rlgwebd
9 ExecStop=/usr/local/bin/rlgwebd-stop 9 ExecStop=/usr/local/bin/rlgwebd-stop
10 Restart=on-failure
10 11
11 [Install] 12 [Install]
12 WantedBy=multi-user.target 13 WantedBy=multi-user.target