Artix Linux Forum

Init systems => runit => Topic started by: stan74 on 06 December 2020, 18:31:16

Title: Start up rc.local
Post by: stan74 on 06 December 2020, 18:31:16
I want use rc.local

but no startup script found in /etc/runit/sv

how can i start rc.local when system boot

Title: Re: Start up rc.local
Post by: nous on 06 December 2020, 18:56:30
By default, our runit parses /etc/rc.local. I think it must be executable too.
Title: Re: Start up rc.local
Post by: stan74 on 06 December 2020, 19:04:27
rc.local is  executable but no run by default

in /etc/local.d/ some files with .start

but rc.local dont start in stage 2
Title: Re: Start up rc.local
Post by: strajder on 06 December 2020, 22:38:35
rc.local is  executable but no run by default

in /etc/local.d/ some files with .start

but rc.local dont start in stage 2

How can you tell? Try adding a line like
Code: [Select]
echo "rc.local started" >> /tmp/rc.local.log
and check if the file is there.