mirror of
https://github.com/Dahlgren/arma-server-web-admin.git
synced 2024-08-30 17:22:10 +00:00
Create arma-server-web-admin.service
systemd service file
This commit is contained in:
parent
b51629645c
commit
a29153c4c5
13
lib/support/arma-server-web-admin.service
Normal file
13
lib/support/arma-server-web-admin.service
Normal 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
|
Loading…
Reference in New Issue
Block a user