Can you give me the basic instructions?
I have created /etc/runit/service/remotepc/run and given it executable rights.
The file contains the following text:
#!/bin/sh
export ELECTRON_RUN_AS_NODE=1
export APP=remotepc
export NODE_ENV=PROD
exec /opt/remotepc/remotepc /opt/remotepc/resources/app.asar/node_modules/daemon/
After I executed
sudo ln -s /etc/runit/service/remotepc /run/runit/service/
Unfortunately, it doesn't work.
sv restart remotepc
timeout: down: remotepc: 0s, normally up, want up
❯ sudo sv status remotepc
down: remotepc: 0s, normally up, want up