From 9cf2578683de834026f501c24a0f5d3d0991d0a6 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Wed, 4 Apr 2012 00:22:21 -0400 Subject: 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. --- units/systemd-ask-password-wall.service.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'units/systemd-ask-password-wall.service.in') 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 -- cgit v1.2.3-54-g00ecf