From: ZhaoQiang Date: Tue, 13 Aug 2019 09:39:10 +0000 (+0800) Subject: ply-systemd-units: Drop attach-session in systemd-units to avoid X-Git-Tag: 0.9.5~51^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a473e1c47d0604ebb418534c288b9b91d11c2278;p=thirdparty%2Fplymouth.git ply-systemd-units: Drop attach-session in systemd-units to avoid the failure of unmounting separate /var during poweroff. --- diff --git a/systemd-units/plymouth-halt.service.in b/systemd-units/plymouth-halt.service.in index 38ae98ce..a856e144 100644 --- a/systemd-units/plymouth-halt.service.in +++ b/systemd-units/plymouth-halt.service.in @@ -7,6 +7,6 @@ ConditionKernelCommandLine=!plymouth.enable=0 ConditionVirtualization=!container [Service] -ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown --attach-to-session +ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash Type=forking diff --git a/systemd-units/plymouth-kexec.service.in b/systemd-units/plymouth-kexec.service.in index bed5eb79..26a26691 100644 --- a/systemd-units/plymouth-kexec.service.in +++ b/systemd-units/plymouth-kexec.service.in @@ -7,6 +7,6 @@ ConditionKernelCommandLine=!plymouth.enable=0 ConditionVirtualization=!container [Service] -ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown --attach-to-session +ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash Type=forking diff --git a/systemd-units/plymouth-poweroff.service.in b/systemd-units/plymouth-poweroff.service.in index 7891e97d..986e9466 100644 --- a/systemd-units/plymouth-poweroff.service.in +++ b/systemd-units/plymouth-poweroff.service.in @@ -7,6 +7,6 @@ ConditionKernelCommandLine=!plymouth.enable=0 ConditionVirtualization=!container [Service] -ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown --attach-to-session +ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash Type=forking diff --git a/systemd-units/plymouth-reboot.service.in b/systemd-units/plymouth-reboot.service.in index 147f8248..65f12e37 100644 --- a/systemd-units/plymouth-reboot.service.in +++ b/systemd-units/plymouth-reboot.service.in @@ -7,6 +7,6 @@ ConditionKernelCommandLine=!plymouth.enable=0 ConditionVirtualization=!container [Service] -ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=reboot --attach-to-session +ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=reboot ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash Type=forking