[LINUX] Runlevel at OS startup

In systemd, if you want to change the target at startup, execute the following command. #systemctl set-default target name.target systemd has a target that corresponds to the traditional SysVinit / Upstart runlevel by default.

Main targets and uses

・ Poweroff.target… Stops the system ・ Rescue.target… Switches the system to rescue mode (equivalent to single user mode). ・ Multi-user.target… Switch to a state where multiple users can use the system with a non-graphical interface ・ graphical.target… Switch to a state where multiple users can use the system with a graphical interface ・ Reboot.target… Reboots the system

Recommended Posts

Runlevel at OS startup
Show modules being imported at startup