mirror of
https://github.com/systemd/systemd.git
synced 2024-11-28 04:33:36 +08:00
9cf2578683
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.
16 lines
650 B
SYSTEMD
16 lines
650 B
SYSTEMD
# This file is part of systemd.
|
|
#
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
[Unit]
|
|
Description=Forward Password Requests to Wall
|
|
After=systemd-user-sessions.service
|
|
|
|
[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
|