annotate rlgwebd.service @ 198:ea28353d620a
Make sure games have saved and exited before stopping the server.
This should make the systemd version safe for production, though
it can't yet deal with a game that hangs and doesn't exit.
author |
John "Elwin" Edwards |
date |
Thu, 28 Jan 2016 21:17:06 -0500 |
parents |
3bdee6371c3f |
children |
a7cc38a0168d |
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
|
192
|
10
|
|
11 [Install]
|
|
12 WantedBy=multi-user.target
|