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 Jun 20, 2023
1 parent 8452543 commit 1959991
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions mxrouter/mxrouter.service
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
[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 +10,5 @@ ExecStart=/usr/sbin/mxrouterctl start
ExecStop=/usr/sbin/mxrouterctl stop

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

0 comments on commit 1959991

Please sign in to comment.