Mercurial > hg > rlgwebd
annotate rlgwebd.service @ 210:b04313038a0b
Changes for compatibility with recent versions of NodeJS.
The pty.js module is replaced with node-pty, now-mandatory callbacks
are added to various fs functions, and deprecated Buffer() calls are
replaced with Buffer.from() or Buffer.alloc().
author | John "Elwin" Edwards |
---|---|
date | Sun, 25 Aug 2019 21:27:31 -0400 |
parents | 2667aaad8e08 |
children |
rev | line source |
---|---|
192 | 1 [Unit] |
2 Description=RLGWebD app daemon | |
3 After=network.target syslog.target | |
4 | |
5 [Service] | |
6 Type=simple | |
209 | 7 Environment=NODE_PATH=/var/local/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 |