diff options
author | Simon Rettberg | 2023-10-19 13:22:27 +0200 |
---|---|---|
committer | Simon Rettberg | 2023-10-19 13:22:27 +0200 |
commit | f3ce2e1cbf6368a0e3bd176c59f0d0ab7cadd6c7 (patch) | |
tree | 64e31708c54461caf65710578d3fd1dc037bf266 /satellit_installer/static_files/system/etc/systemd/system/firstboot.service | |
parent | [SSPS] issue: lightred for better readablity on black background (diff) | |
download | setup-scripts-f3ce2e1cbf6368a0e3bd176c59f0d0ab7cadd6c7.tar.gz setup-scripts-f3ce2e1cbf6368a0e3bd176c59f0d0ab7cadd6c7.tar.xz setup-scripts-f3ce2e1cbf6368a0e3bd176c59f0d0ab7cadd6c7.zip |
[SSPS] Modernize; switch default user to openslx + sudo
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.service | 7 |
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 |