Artix Linux Forum

Init systems => runit => Topic started by: MilkCow on 29 November 2020, 13:46:35

Title: -runit packages should install /etc/runit/sv/*/supervise as symlink to /run.
Post by: MilkCow on 29 November 2020, 13:46:35
Many -runit packages do not, so runit writes to /etc/runit/sv/*/supervise.
This can place more burden on poor microSD cards.
Title: Re: -runit packages should install /etc/runit/sv/*/supervise as symlink to /run.
Post by: phoenix_king_rus on 29 November 2020, 16:38:08
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
Title: Re: -runit packages should install /etc/runit/sv/*/supervise as symlink to /run.
Post by: MilkCow on 30 November 2020, 02:01:39
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.
Title: Re: -runit packages should install /etc/runit/sv/*/supervise as symlink to /run.
Post by: phoenix_king_rus on 30 November 2020, 08:05:58
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