Skip to content

Commit

Permalink
mxrouter.service: Clean up
Browse files Browse the repository at this point in the history
mxrouter.service does not provice (local) network service, so normalize
it.
  • Loading branch information
donald committed Jul 4, 2023
1 parent 5af77c3 commit 4e69a29
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions mxrouter/mxrouter.service
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
[Unit]
Description=MX Router setup
Requires=network.service mxvlan.service
After=network.service mxvlan.service
Before=network.target
ConditionPathIsDirectory=/etc/local/mxrouter

[Service]
Expand All @@ -13,5 +9,5 @@ ExecStart=/usr/sbin/mxrouterctl start
ExecStop=/usr/sbin/mxrouterctl stop

[Install]
WantedBy=network.target
WantedBy=multi-user.target

0 comments on commit 4e69a29

Please sign in to comment.