Skip to content

Commit

Permalink
mxstartup.service: Fix dependencies
Browse files Browse the repository at this point in the history
Only wait for network online, because /etc/,xstartups uses hostnames
which need to be resolved and services started by it might fail when
they don't have network.

Remove other dependencies are already resolved by DefaultDependencies.

Also remove Desription for easier debugging.
  • Loading branch information
donald committed Jul 4, 2023
1 parent eda3894 commit 0f86e5f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mxstartup/mxstartup.service
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[Unit]
Description=Mariux mxstartup classic
After=mxmount.service network.target
Requires=mxmount.service
After=network-online.target
Wants=network-online.target

[Service]
Type=oneshot
Expand Down

0 comments on commit 0f86e5f

Please sign in to comment.