redirect pl_sysinit and pl_boot to /dev/console
[bootcd.git] / systemd / pl_boot.service
index 4010cfd..8fd36ac 100644 (file)
@@ -1,9 +1,11 @@
 [Unit]
 Description=pl_boot service
-After=pl_sysinit.target
+Wants=network-online.target
+After=network.target
 
+# in debug mode we fork bash -x so that we can get a grip on
+# what exactly is going on in here
 [Service]
-ExecStart=/etc/init.d/pl_boot
-
-[Install]
-WantedBy=pl_boot.target
+ExecStart=/bin/bash -x /etc/init.d/pl_sysinit > /dev/console
+ExecStart=/bin/bash -x /etc/init.d/pl_boot > /dev/console
+Type=oneshot