[lug] Fedora vs Ubuntu vs Mint

Zan Lynx zlynx at acm.org
Thu Jul 20 07:32:15 MDT 2017


On 7/19/2017 6:06 PM, Jed S. Baer wrote:
> For a while, back in the days of upstart, there was a GUI equivalent
> to the chkconfig command. Both are now gone. I no longer know how to
> configure what gets started at each runlevel. Maybe that's irrelevant?
> IIRC, Ubuntu (and therefore Mint) bring up a full desktop system at RL2.

Read up on systemd, it is pretty well documented.

The thing that you want, to control startup services, is systemctl.

For example, if I want to stop exim on my server it is systemctl stop 
exim. If I want to remove it from startup it is systemctl disable exim. 
Or systemctl enable exim.

You can also control all of that with symlinks to services in 
/etc/systemd/system/multi-user.target.wants but it's better to use 
systemctl.

Instead of run levels, systemd uses targets. Many of them are predefined 
and can't be changed. Each target in the dependency chain has to be 
complete before it moves on to the next one. man systemd.special shows 
most of them.

Runlevel 2 is not really matched in systemd. Runlevel 3 is 
multi-user.target. Runlevel 5 is graphical.target.

-- 
                 Knowledge is Power -- Power Corrupts
                         Study Hard -- Be Evil



More information about the LUG mailing list