Glam Prestige Journal

Bright entertainment trends with youth appeal.

I want to find out in which runlevel the files of /etc/init.d‍ are started. Has someone any idea? I thought there might be the option to find it with the find command

1 Answer

Run:

cd /etc/init.d
grep Default-Start *

Results:

dbus:# Default-Start: 2 3 4 5
docker:# Default-Start: 2 3 4 5
gdomap:# Default-Start: 2 3 4 5
...

Just to note, from man runlevel:

 ┌─────────┬───────────────────┐ │Runlevel │ Target │ ├─────────┼───────────────────┤ │0 │ poweroff.target │ ├─────────┼───────────────────┤ │1 │ rescue.target │ ├─────────┼───────────────────┤ │2, 3, 4 │ multi-user.target │ ├─────────┼───────────────────┤ │5 │ graphical.target │ ├─────────┼───────────────────┤ │6 │ reboot.target │ └─────────┴───────────────────┘
3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy