ubuntu:systemd:set_multi-user.target_as_the_default_target
Ubuntu - Systemd - Set multi-user.target as the default target
sudo systemctl set-default multi-user.target
NOTE: This command creates a symbolic link from /etc/systemd/system/default.target to /lib/systemd/system/multi-user.target.
- If you reboot now, you will be taken to the multi-user target.
Check the symbolic link
ls -lh /etc/systemd/system/default.target
returns:
lrwxrwxrwx 1 root root 42 Jan 4 16:31 /etc/systemd/system/default.target -> /lib/systemd/system/multi-user.target
ubuntu/systemd/set_multi-user.target_as_the_default_target.txt · Last modified: 2023/06/03 09:50 by peter