DEBIAN8 Modifying the startup default run level

Source: Internet
Author: User

Things need to know:

1) Systemd boots towards the target given by "Default.target". This was typically a symbolic link to the actual target file.

2) Systemd keeps it ' s targets in/lib/systemd/system And/etc/systemd/system. A file In/etc/systemd/system takes precedence over those shipped with the OS In/lib/systemd/system-the intent are that /ETC/SYSTEMD is used by systems administrators and/lib/systemd are used by distributions.

Debian as-shipped boots towards the graphical target. Can see this yourself:

$ ls -l /etc/systemd/system/default.target... No such file or directory$ ls -l /lib/systemd/system/default.target... /lib/systemd/system/default.target -> graphical.target

So-to-boot towards the multiuser target all your need do are to-put in own target:

$ cd /etc/systemd/system/$ sudo ln -s /lib/systemd/system/multi-user.target default.target

DEBIAN8 Modifying the startup default run level

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.