diff --git a/lib/support/arma-server-web-admin.service b/lib/support/arma-server-web-admin.service new file mode 100644 index 0000000..d455825 --- /dev/null +++ b/lib/support/arma-server-web-admin.service @@ -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