[Unit] Description=Streamthingy App After=network.target [Service] Type=oneoff WorkingDirectory=/home/streamthingy/www/streamthingy-rewrite/ EnvironmentFile=/home/streamthingy/www/streamthingy-rewrite/env-vars User=streamthingy Group=streamthingy ExecStart=/usr/bin/screen -L -DmS streamthingy bash -ilc "set -x; npm run prd -- --listen http://127.2.2.2:3101" [Install] WantedBy=multi-user.target