summaryrefslogtreecommitdiffstats
path: root/satellit_installer/static_files/system/etc/systemd/system/firstboot.service
diff options
context:
space:
mode:
Diffstat (limited to 'satellit_installer/static_files/system/etc/systemd/system/firstboot.service')
-rw-r--r--satellit_installer/static_files/system/etc/systemd/system/firstboot.service7
1 files changed, 4 insertions, 3 deletions
diff --git a/satellit_installer/static_files/system/etc/systemd/system/firstboot.service b/satellit_installer/static_files/system/etc/systemd/system/firstboot.service
index a21ad61..f19b51a 100644
--- a/satellit_installer/static_files/system/etc/systemd/system/firstboot.service
+++ b/satellit_installer/static_files/system/etc/systemd/system/firstboot.service
@@ -1,11 +1,12 @@
[Unit]
Description=Initialization of bwLehrpool on first boot
-ConditionFileIsExecutable=/root/installer/rclocal_script.sh
-After=network.target mysql.service
+ConditionFileIsExecutable=/opt/openslx/firstboot.sh
+After=network.target mysql.service mariadb.service
+Before=ssh.service lighttpd.service dmsd.service taskmanager.service
[Service]
Type=oneshot
-ExecStart=/root/installer/rclocal_script.sh
+ExecStart=/opt/openslx/firstboot.sh
RemainAfterExit=yes
RefuseManualStart=yes