view 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
line wrap: on
line source

[Unit]
Description=RLGWebD app daemon
After=network.target syslog.target

[Service]
Type=simple
Environment=NODE_PATH=/usr/lib/node_modules
ExecStart=/usr/local/bin/rlgwebd
ExecStop=/usr/local/bin/rlgwebd-stop

[Install]
WantedBy=multi-user.target