Closed jhjacobs81 closed 4 years ago
i managed to run it as a service by creating the following service file:
[Unit] Description="Narrow Casting"
[Service] ExecStart=/usr/bin/npm run dev WorkingDirectory=/srv/narrowcasting Restart=always RestartSec=10 StandardOutput=syslog StandardError=syslog SyslogIdentifier=NarrowCasting
[Install] WantedBy=multi-user.target
=============== Hopefully it will be of use for someone else 👍
Would be nice to run this as a service, so that its beeing started automaticly after a reboot.