Create the file arma-server-web-admin.service in `/etc/systemd/system/´
arma-server-web-admin.service
# arma-server-web-admin.service [Service] ExecStart=</path/to/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 id Group=<user group id> Environment=NODE_ENV=production [Install] WantedBy=multi-user.target
systemctl enable arma-server-web-admin
systemctl disable arma-server-web-admin
systemctl start arma-server-web-admin
systemctl stop arma-server-web-admin
There was an error while loading. Please reload this page.