annotate rlgwebd.service @ 213:08665c56c6a0 default tip

Fix race condition related to watching DGL games. It's possible for a dgamelaunch game to end and cause rlgwebd to stop watching it before rlgwebd has started watching it.
author John "Elwin" Edwards
date Sun, 16 Aug 2020 20:56:18 -0400
parents 2667aaad8e08
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
192
addc4e3456c4 Begin adding systemd compatibility.
John "Elwin" Edwards
parents:
diff changeset
1 [Unit]
addc4e3456c4 Begin adding systemd compatibility.
John "Elwin" Edwards
parents:
diff changeset
2 Description=RLGWebD app daemon
addc4e3456c4 Begin adding systemd compatibility.
John "Elwin" Edwards
parents:
diff changeset
3 After=network.target syslog.target
addc4e3456c4 Begin adding systemd compatibility.
John "Elwin" Edwards
parents:
diff changeset
4
addc4e3456c4 Begin adding systemd compatibility.
John "Elwin" Edwards
parents:
diff changeset
5 [Service]
addc4e3456c4 Begin adding systemd compatibility.
John "Elwin" Edwards
parents:
diff changeset
6 Type=simple
209
2667aaad8e08 Move the NODE_PATH location.
John "Elwin" Edwards
parents: 200
diff changeset
7 Environment=NODE_PATH=/var/local/lib/node_modules
195
3bdee6371c3f Change various filenames.
John "Elwin" Edwards
parents: 193
diff changeset
8 ExecStart=/usr/local/bin/rlgwebd
3bdee6371c3f Change various filenames.
John "Elwin" Edwards
parents: 193
diff changeset
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
addc4e3456c4 Begin adding systemd compatibility.
John "Elwin" Edwards
parents:
diff changeset
11
addc4e3456c4 Begin adding systemd compatibility.
John "Elwin" Edwards
parents:
diff changeset
12 [Install]
addc4e3456c4 Begin adding systemd compatibility.
John "Elwin" Edwards
parents:
diff changeset
13 WantedBy=multi-user.target