view 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 source

[Unit]
Description=RLGWebD app daemon
After=network.target syslog.target

[Service]
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