diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-04-04 00:22:21 -0400 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2012-04-04 06:46:35 +0200 |
commit | 9cf2578683de834026f501c24a0f5d3d0991d0a6 (patch) | |
tree | 754bd599f15dee874b2c50f33c68df386e569e6e /units/systemd-ask-password-wall.service.in | |
parent | 9b1a953e08917030489cd9adb2a17dfd407ce14b (diff) |
units/: use @SYSTEMCTL@ instead of hardcoded paths
Especially in the case of --enable-split-usr, several units will point
to the wrong location for systemctl. Use @SYSTEMCTL@ which will always
contain the proper path.
Diffstat (limited to 'units/systemd-ask-password-wall.service.in')
-rw-r--r-- | units/systemd-ask-password-wall.service.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/units/systemd-ask-password-wall.service.in b/units/systemd-ask-password-wall.service.in index 71ec1d68f8..d8e27bf96b 100644 --- a/units/systemd-ask-password-wall.service.in +++ b/units/systemd-ask-password-wall.service.in @@ -10,6 +10,6 @@ Description=Forward Password Requests to Wall After=systemd-user-sessions.service [Service] -ExecStartPre=-@rootbindir@/systemctl stop systemd-ask-password-console.path systemd-ask-password-console.service -ExecStartPre=-@rootbindir@/systemctl stop systemd-ask-password-plymouth.path systemd-ask-password-plymouth.service +ExecStartPre=-@SYSTEMCTL@ stop systemd-ask-password-console.path systemd-ask-password-console.service +ExecStartPre=-@SYSTEMCTL@ stop systemd-ask-password-plymouth.path systemd-ask-password-plymouth.service ExecStart=@rootbindir@/systemd-tty-ask-password-agent --wall |