diff options
Diffstat (limited to 'satellit_installer/static_files/system-base/etc/systemd/system/firstboot.service')
-rw-r--r-- | satellit_installer/static_files/system-base/etc/systemd/system/firstboot.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/satellit_installer/static_files/system-base/etc/systemd/system/firstboot.service b/satellit_installer/static_files/system-base/etc/systemd/system/firstboot.service new file mode 100644 index 0000000..f19b51a --- /dev/null +++ b/satellit_installer/static_files/system-base/etc/systemd/system/firstboot.service @@ -0,0 +1,14 @@ +[Unit] +Description=Initialization of bwLehrpool on first boot +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=/opt/openslx/firstboot.sh +RemainAfterExit=yes +RefuseManualStart=yes + +[Install] +WantedBy=multi-user.target |