From: William Douglas Date: Thu, 11 Apr 2013 12:03:09 +0000 (-0700) Subject: add update systemd service X-Git-Tag: accepted/tizen/20130503.225628^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=877f25ec300bf60c8a6d19ca39b2cdcd57ec2b98;p=platform%2Fupstream%2Fplymouth.git add update systemd service Change-Id: Ia849af649434b728f3980a6fa90736d0a61f4219 Signed-off-by: William Douglas --- diff --git a/configure.ac b/configure.ac index f2a3ae4..8c5e2c3 100644 --- a/configure.ac +++ b/configure.ac @@ -464,6 +464,7 @@ AC_CONFIG_FILES([Makefile systemd-units/plymouth-read-write.service systemd-units/plymouth-reboot.service systemd-units/plymouth-start.service + systemd-units/plymouth-update.service systemd-units/plymouth-switch-root.service systemd-units/systemd-ask-password-plymouth.path systemd-units/systemd-ask-password-plymouth.service diff --git a/systemd-units/Makefile.am b/systemd-units/Makefile.am index 3aa44df..4dea729 100644 --- a/systemd-units/Makefile.am +++ b/systemd-units/Makefile.am @@ -1,6 +1,7 @@ systemd_unit_templates = \ plymouth-switch-root.service.in \ plymouth-start.service.in \ + plymouth-update.service.in \ plymouth-read-write.service.in \ plymouth-quit.service.in \ plymouth-quit-wait.service.in \ diff --git a/systemd-units/plymouth-update.service.in b/systemd-units/plymouth-update.service.in new file mode 100644 index 0000000..7f33ee3 --- /dev/null +++ b/systemd-units/plymouth-update.service.in @@ -0,0 +1,12 @@ +[Unit] +Description=Show Plymouth Update Screen +DefaultDependencies=no +After=systemd-vconsole-setup.service systemd-udev-trigger.service +ConditionKernelCommandLine=!plymouth.enable=0 + +[Service] +ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=updates --pid-file=@plymouthruntimedir@/pid --attach-to-session +ExecStartPost=-/usr/bin/udevadm settle --timeout=30 --exit-if-exists=/sys/class/drm/card0/dev ; /usr/bin/udevadm settle --timeout=30 --exit-if-exists=/sys/class/graphics/fb0/dev ; @PLYMOUTH_CLIENT_DIR@/plymouth show-splash ; @PLYMOUTH_CLIENT_DIR@/plymouth change-mode --updates +Type=forking +KillMode=none +SendSIGKILL=no