annotate rlgwebd.service @ 193:80ca029f0906

Add a script to stop RLGWebD. socat is no longer needed, nor is preventing systemd from sending signals.
author John "Elwin" Edwards
date Sat, 02 Jan 2016 14:33:48 -0500
parents addc4e3456c4
children 3bdee6371c3f
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
addc4e3456c4 Begin adding systemd compatibility.
John "Elwin" Edwards
parents:
diff changeset
7 Environment=NODE_PATH=/usr/lib/node_modules
addc4e3456c4 Begin adding systemd compatibility.
John "Elwin" Edwards
parents:
diff changeset
8 ExecStart=/usr/bin/node /usr/local/bin/rlgwebd.js
193
80ca029f0906 Add a script to stop RLGWebD.
John "Elwin" Edwards
parents: 192
diff changeset
9 ExecStop=/usr/bin/node /usr/local/bin/rlgwebd-stop.js
192
addc4e3456c4 Begin adding systemd compatibility.
John "Elwin" Edwards
parents:
diff changeset
10
addc4e3456c4 Begin adding systemd compatibility.
John "Elwin" Edwards
parents:
diff changeset
11 [Install]
addc4e3456c4 Begin adding systemd compatibility.
John "Elwin" Edwards
parents:
diff changeset
12 WantedBy=multi-user.target