...
 
Commits (2)
[Unit]
Description=custom websocket proxy written in node
After=network-online.target
[Service]
WorkingDirectory=/root/dev/websocketproxy
ExecStart=/root/.nvm/nvm-exec node --experimental-modules app.mjs -p 8956
Restart=always
RestartSec=3
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=websocketproxy
Environment=NODE_ENV=production
Environment=NODE_VERSION=lts/dubnium
[Install]
WantedBy=multi-user.target