mirror of
https://github.com/juergen-rocks/raumklima-web.git
synced 2025-01-15 10:13:27 +01:00
Systemd file
This commit is contained in:
parent
86dfbea920
commit
1e185e587b
17
systemd/raumklima-web.service
Normal file
17
systemd/raumklima-web.service
Normal 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
|
Loading…
x
Reference in New Issue
Block a user