]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/systemd.service.xml
core: log about /var/run/ prefix used in PIDFile=, patch it to be /run instead
authorLennart Poettering <lennart@poettering.net>
Fri, 9 Nov 2018 17:19:40 +0000 (18:19 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 10 Nov 2018 18:17:00 +0000 (19:17 +0100)
commita9353a5c5b512f107955e56a9812724f40b841d3
tree4cd932e978677b6fccfdf0cdfe5f343b8197e026
parent33dbab6fde5423ce61b5544ca49afa13495477a8
core: log about /var/run/ prefix used in PIDFile=, patch it to be /run instead

In a way this is a follow-up for
a2d1fb882c4308bc10362d971f333c5031d60069, but adds a similar warning for
PIDFile=.

There's a much stronger case for doing this kind of notification in
tmpfiles.d (since it helps relating lines to each other for the purpose
of merging them). Doing this for PIDFile= is mostly about being
systematic and copying tmpfiles.d/ behaviour here.

While we are at it, let's also support relative filenames in PIDFile=
now, and prefix them with /run, to make them absolute.

Fixes: #10657
man/systemd.service.xml
src/core/dbus-service.c
src/core/load-fragment-gperf.gperf.m4
src/core/load-fragment.c
src/core/load-fragment.h