Skip to main content
Topic: -runit packages should install /etc/runit/sv/*/supervise as symlink to /run. (Read 689 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

-runit packages should install /etc/runit/sv/*/supervise as symlink to /run.

Many -runit packages do not, so runit writes to /etc/runit/sv/*/supervise.
This can place more burden on poor microSD cards.

Re: -runit packages should install /etc/runit/sv/*/supervise as symlink to /run.

Reply #1
I partially agree with this but i think another solution would fit better: instead of symlinking /etc/runit/runsvdir/default to /run/runit/service copy can be used. In that case supervision is done on tmpfs and there will be possibility to start service without enabling it
ARMtix

Re: -runit packages should install /etc/runit/sv/*/supervise as symlink to /run.

Reply #2
I partially agree with this but i think another solution would fit better: instead of symlinking /etc/runit/runsvdir/default to /run/runit/service copy can be used. In that case supervision is done on tmpfs and there will be possibility to start service without enabling it

Is it possible to start services without supervision by default? Copying /etc/runit/runsvdir/default to /run/runit/service is also a good idea.

 

Re: -runit packages should install /etc/runit/sv/*/supervise as symlink to /run.

Reply #3
Is it possible to start services without supervision by default?
Runit is a supervisor by design. if you need to start something without supervision, do it at stage 1 or with rc.local
ARMtix