ansible-role-systemd_service/releasenotes/notes/systemd_run_lock_dir-5b4b0cad9c860ce0.yaml
Dmitriy Rabotyagov 46185f389e Update run and lock path for systemd
Since /var/run is a symlink to /run and /var/lock is a symlink to
/run/lock for all modern operationg systems, it makes sense to
change default paths that are used.

To make such changes more flexible, ``systemd_run_dir`` and
``systemd_lock_dir`` are introduced.

Change-Id: I60d321fcdce3d3a94233cc25c92898d9e9f2a9b8
2021-11-04 20:30:47 +02:00

13 lines
552 B
YAML

---
features:
- |
Added variables ``systemd_run_dir`` and ``systemd_lock_dir`` that allows
to control run and lock path for directories that will be used by systemd
services. Variables should not include service name since it will be added
by default at the end of the provided path.
These variables could be also defined as keys inside ``systemd_services``
and this will have prescedence over default behaviour.
- |
Default run path for systemd services has been changed to ``/run`` and
lock path to ``/run/lock``.