Create arma-server-web-admin.service

systemd service file
This commit is contained in:
Steven Koeberich 2015-05-31 17:35:06 +02:00
parent b51629645c
commit a29153c4c5

View File

@ -0,0 +1,13 @@
[Service]
ExecStart=/usr/bin/node [PATH_TO arma-server-web-admin/app.js]
WorkingDirectory=[PATH_TO arma-server-web-admin]
Restart=always
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=arma-server-web-admin
User=[USER]
Group=[GROUP]
Environment=NODE_ENV=production
[Install]
WandedBy=multi-user.target