kdump-emergency.service: executable uses absolute path
Bao noticed the following systemd warning: systemd[1]: [/usr/lib/systemd/system/emergency.service:17] Executable path is not absolute, ignoring: systemctl --no-block isolate kdump-error-handler.service It turns out that now systemd doesn't allow relative path for an executable, we must adapt that, make the change. Signed-off-by: WANG Chao <chaowang@redhat.com> Tested-by: Baoquan He <bhe@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
parent
e242ae873b
commit
1ff6192737
@ -14,7 +14,7 @@ Description=Kdump Emergency
|
|||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=systemctl --no-block isolate kdump-error-handler.service
|
ExecStart=/usr/bin/systemctl --no-block isolate kdump-error-handler.service
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
StandardInput=tty-force
|
StandardInput=tty-force
|
||||||
StandardOutput=inherit
|
StandardOutput=inherit
|
||||||
|
Loading…
Reference in New Issue
Block a user