Systemd file

This commit is contained in:
Juergen Edelbluth 2018-04-11 20:57:46 +02:00
parent 86dfbea920
commit 1e185e587b

View File

@ -0,0 +1,17 @@
[Unit]
Description=Raumklima Web
Requires=After=redis.service
[Service]
ExecStart=/usr/bin/nodejs /opt/raumklima-web/app.js
WorkingDirectory=/opt/raumklima-web
Restart=always
RestartSec=10
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=raumklima-web
User=rk-web
Group=rk-web
[Install]
WantedBy=multi-user.target