wiki/notebook/linux.systemd.org
2021-08-09 14:04:42 +08:00

2.3 KiB

Exploring systemd features

systemd is a big tool for a big system. Let's explore some of them from a perspective of a wannabe power user.

Among other things, it has the following list of features.

systemd at user-level

systemd has the ability to run at user-level empowering the user to manage their own system with their own settings. It immensely helps separating user-specific settings from the system-wide settings.

systemd looks for the units from certain paths. You can look for them from the systemd.unit.5 manual page.

To run systemd as a user instance, simply add a --user flag beforehand for systemctl and other systemd binaries, if applicable.

# See how different the output when run at user- and system-level.
systemctl --user show-units
systemctl show-units

systemctl --user show-environment
systemctl show-environment

systemctl --user start $SERVICE