Mercurial > hg > rlgwebd
annotate rlgwebd.service @ 207:ffe22d88bea1
rlgwebd-stop: avoid the deprecated domain module.
Instead of catching connection errors with domains, install an error
listener on the socket before connecting.
| author | John "Elwin" Edwards |
|---|---|
| date | Fri, 27 Jan 2017 19:18:31 -0500 |
| parents | a7cc38a0168d |
| children | 2667aaad8e08 |
| rev | line source |
|---|---|
| 192 | 1 [Unit] |
| 2 Description=RLGWebD app daemon | |
| 3 After=network.target syslog.target | |
| 4 | |
| 5 [Service] | |
| 6 Type=simple | |
| 7 Environment=NODE_PATH=/usr/lib/node_modules | |
| 195 | 8 ExecStart=/usr/local/bin/rlgwebd |
| 9 ExecStop=/usr/local/bin/rlgwebd-stop | |
|
200
a7cc38a0168d
Actually restart RLGWebD if it crashes.
John "Elwin" Edwards
parents:
195
diff
changeset
|
10 Restart=on-failure |
| 192 | 11 |
| 12 [Install] | |
| 13 WantedBy=multi-user.target |
