Skip to content

Commit

Permalink
mxstartup: Wait for network online
Browse files Browse the repository at this point in the history
We might start up a service which requires network connectivity, so wait
for it.
  • Loading branch information
donald committed Jul 4, 2023
1 parent 913b3ac commit 6244d40
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,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
10 changes: 10 additions & 0 deletions misc_systemd_units/mxstartup.service.d/fix-tmp.conf
Original file line number Diff line number Diff line change
@@ -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, sometimes host names are used,
# which required dns

[Unit]
After=network-online.target
Wants=network-online.target

0 comments on commit 6244d40

Please sign in to comment.