#!/bin/sh
cd /opt/synclounge
npm run server & node webapp.js --accessUrl=http://$DOMAIN

#!/bin/sh
cd /opt/synclounge
export accessUrl=http://$DOMAIN; npm run server & node webapp.js

Move accessUrl to env variable
Move accessUrl to env variable