From cb882c28cb5602145d62a4c3c965adb3108d1e71 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Fri, 30 Jun 2023 13:57:56 +0200 Subject: [PATCH] mxstartup: Wait for network online --- install.sh | 2 ++ misc_systemd_units/mxstartup.service.d/fix-tmp.conf | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 misc_systemd_units/mxstartup.service.d/fix-tmp.conf diff --git a/install.sh b/install.sh index 0f28ecd..952b7b6 100755 --- a/install.sh +++ b/install.sh @@ -270,6 +270,8 @@ install_data misc_systemd_units/wait-network-online.service \ "$DESTDIR$systemdunitdir/wait-network-online.service" install_data misc_etc_files/modprobe.d/disable-i915.conf "$DESTDIR$sysconfdir/modprobe.d/disable-i915.conf" install_data misc_systemd_units/i915.service "$DESTDIR$systemdunitdir/i915.service" +install_data misc_systemd_units/mxstartup.service.d/fix-tmp.conf \ + "$DESTDIR$systemdunitdir/mxstartup.service.d/fix-tmp.conf" postinstall exit diff --git a/misc_systemd_units/mxstartup.service.d/fix-tmp.conf b/misc_systemd_units/mxstartup.service.d/fix-tmp.conf new file mode 100644 index 0000000..884f068 --- /dev/null +++ b/misc_systemd_units/mxstartup.service.d/fix-tmp.conf @@ -0,0 +1,10 @@ +# Can be removed when mxtstartup.service is moved from the mxstartup bee +# package into mxtools and corrected. +# +# Order after network-online, because we don't know about the requirements of +# the services started from mxstartup. Also someetimes host names are used, +# which required dns + +[Unit] +After=network-online.target +Wants=network-online.target