mirror of
https://github.com/foo-dogsquared/wiki.git
synced 2025-02-07 12:19:31 +00:00
![Gabriel Arazas](/assets/img/avatar_default.png)
- Some updates to pacman as I'm going to trying to use Open Build Service which apparently has support for publishing Arch Linux packages. Pretty nice! - Starting to take more notes for Git as I use it beyond the simple commit and push workflow. I mostly use it to create patches for packaging other applications. - Updates for Drawabox.
2.3 KiB
2.3 KiB
systemd
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 timers which can replace cron for task scheduling.
- systemd services along with the usual antics of a service manager such as managing dependencies and commands to run when killed.
- systemd transient units for quickly creating and scheduling one-off services.
- systemd unit templates is handy for managing units that have common structure, enabling to start them quickly and dynamically.
- systemd environment directives enable setting environment variables from a systemd-ful session.
- systemd-networkd is the network configuration manager in case you want to do Network configuration in Linux.
- systemd-boot is a bootloader mainly for UEFI-based systems.
- systemd-journald is the system logging service providing a structured way to manage your logs from different units.
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