Systemd: Difference between revisions
From wikinotes
(→Notes) |
No edit summary |
||
Line 9: | Line 9: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| | | github || https://github.com/systemd/systemd | ||
|- | |||
| official docs || https://systemd.io/ | |||
|- | |||
|} | |} | ||
</blockquote><!-- Documentation --> | </blockquote><!-- Documentation --> |
Revision as of 16:27, 23 April 2022
Systemd is an init system written by Lenart Pottering. It's main goal was to asynchronously load services, and to more easily manage service dependencies (and let it decide the load-order for services).
Documentation
github https://github.com/systemd/systemd official docs https://systemd.io/
Tutorials
writing systemd services http://unix.stackexchange.com/questions/47695/how-to-write-startup-script-for-systemd archwiki daemons https://wiki.archlinux.org/index.php/Daemons
Locations
/etc/systemd/system/*.service
custom system-services ~/.config/systemd/user/*.service
custom user service files /usr/lib/systemd/system/*.service
system-services from libs /usr/lib/systemd/user/*.service
user-services from libs /etc/default/
service configuration files /etc/conf.d/*
environment files
Permissions
systemctl-journal
group members can journalctl without sudo
Notes
systemd usage systemd service syntax systemd timer syntax systemd troubleshooting