summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-13 19:18:55 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-13 20:11:59 +0200
commitb532bdeae9b13fe93a54850f5e7f99c753bda6fa (patch)
treed4efc065957b48a7d4f73f1d4c6266d397d7ef0d /units
parent8cf7c96517c3688d29b30651adcda9e71e7fcb07 (diff)
rpm: add RPM macros to apply sysusers, sysctl, and binfmt drop-ins
With this in place RPMs can make sure that whatever they drop in is immeidately applied, and not delayed until next reboot. This also moves systemd-sysusers back to /usr/bin, since hardcoding the path to /usr/lib in the macros would mean compatibility breaks in future, should we turn sysusers into a command that is actually OK for people to call directly. And given that that is quite likely to happen (since it is useful to prepare images with its --root= switch), let's just prepare for it.
Diffstat (limited to 'units')
-rw-r--r--units/systemd-sysusers.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-sysusers.service.in b/units/systemd-sysusers.service.in
index e123f398a4..a4c7714155 100644
--- a/units/systemd-sysusers.service.in
+++ b/units/systemd-sysusers.service.in
@@ -19,4 +19,4 @@ ConditionNeedsUpdate=/etc
[Service]
Type=oneshot
RemainAfterExit=yes
-ExecStart=@rootlibexecdir@/systemd-sysusers
+ExecStart=@rootbindir@/systemd-sysusers