particle-os-modules/modules/systemd
xyny 46b1070110
docs: improve examples, remove docs superseded by typespec docstrings (#279)
* chore(bling): uncomment example options

* refactor(brew): remove duplicate "configuration options" setting in README, improve TSP docs

* fix(chezmoi): make example an example and not a doc of the configuration options

* chore(rpm-ostree): remove fake example

examples should be runnable

* fix(rpm-ostree): add replacing packages to typespec schema

* fix(rpm-ostree): actually install the packages the repos are added for

* feat(rpm-ostree): showcase installing from URL and using optfix in example

* fix(rpm-ostree): add optfix to typespec

* fix(systemd): real-world example instead of configuration docs duplicate
2024-07-16 17:09:00 +00:00
..
module.yml docs: improve examples, remove docs superseded by typespec docstrings (#279) 2024-07-16 17:09:00 +00:00
README.md Revert "Merge branch 'main' into main" 2024-02-28 18:08:44 +02:00
systemd.sh feat(systemd): Inform user when systemd units are copied in build logs (#151) 2024-02-26 17:34:33 +00:00
systemd.tsp feat: add typespec schemas for modules (#233) 2024-07-09 16:25:31 +00:00

systemd

The systemd module streamlines the management of systemd units during image building. Units are divided into system and user categories, with system units managed directly using systemctl and user units using systemctl --global. You can specify which units to enable/disable or unmask/mask under each category.

You can also include your systemd units to be copied into system directories into these locations,
depending if your unit is system or user based:
config/systemd/system
config/systemd/user

Those units are then copied into these folders (depending on unit base):
/usr/lib/systemd/system
/usr/lib/systemd/user

Supported management operations are enabling, disabling, masking and unmasking.