This fixes systemctl enable.
https://bugs.freedesktop.org/show_bug.cgi?id=38348
ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown --attach-to-session
ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash
Type=forking
+
+[Install]
+WantedBy=halt.target
ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown --attach-to-session
ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash
Type=forking
+
+[Install]
+WantedBy=kexec.target
ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown --attach-to-session
ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash
Type=forking
+[Install]
+WantedBy=poweroff.target
ExecStart=-@PLYMOUTH_CLIENT_DIR@/plymouth --wait
Type=oneshot
TimeoutSec=20
+[Install]
+WantedBy=multi-user.target
ExecStart=-@PLYMOUTH_CLIENT_DIR@/plymouth quit
Type=oneshot
TimeoutSec=20
+[Install]
+WantedBy=multi-user.target
[Service]
ExecStart=-@PLYMOUTH_CLIENT_DIR@/plymouth update-root-fs --read-write
Type=oneshot
+[Install]
+WantedBy=sysinit.target
ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown --attach-to-session
ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash
Type=forking
+[Install]
+WantedBy=reboot.target
Type=forking
KillMode=none
SendSIGKILL=no
+[Install]
+WantedBy=sysinit.target