1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-03 05:18:09 +03:00

link README.logs from tmpfiles.d/legacy.conf only if available

The file README.logs is installed only if SysVInit support is enabled.
Thus the link should depend on it as well.
This commit is contained in:
Christian Hesse 2024-11-22 11:59:26 +01:00 committed by Luca Boccassi
parent e39cbb1442
commit c946b13575

View File

@ -13,11 +13,12 @@
d /run/lock 0755 root root -
L /var/lock - - - - ../run/lock
{% if HAVE_SYSV_COMPAT %}
{% if CREATE_LOG_DIRS %}
L$ /var/log/README - - - - ../..{{DOC_DIR}}/README.logs
{% endif %}
{% if HAVE_SYSV_COMPAT %}
# /run/lock/subsys is used for serializing SysV service execution, and
# hence without use on SysV-less systems.
d /run/lock/subsys 0755 root root -