chiark / gitweb /
tmpfiles: allow to specify basename only: systemd-tmpfiles <program.conf>
authorDave Reisner <dreisner@archlinux.org>
Sat, 9 Jun 2012 02:31:19 +0000 (22:31 -0400)
committerKay Sievers <kay@vrfy.org>
Sun, 10 Jun 2012 17:05:20 +0000 (19:05 +0200)
commit9125670f9a3dc34adf16b87635b460b2e4099b78
tree229088a6a901878518ceffe9186678493fe8fc39
parent0e25e94ea72ca3db70484014280ddb709840f952
tmpfiles: allow to specify basename only: systemd-tmpfiles <program.conf>

Allow passing of basename only, instead of the absolute path; letting
systemd-tmpfiles perform a path lookup for the proper fragment path in
the config directories.

This allows distributions to call: systemd-tmpfiles <program.conf> on
upgrade of a package, with respecting the possibly overriden (or even
masked) tmpfile.
src/tmpfiles/tmpfiles.c