-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from mariux64/start-named-before-mxstartup
Start named before mxstartup
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[Unit] | ||
After=network.service gateway.service mxmount.service automount.service | ||
|
||
Wants=startup-hostname.service | ||
After=startup-hostname.service | ||
Before=mxstartup-mxvip.service | ||
ConditionPathExists=/node/startup-hostname/wtf | ||
|
||
[Service] | ||
Type=forking | ||
ExecStartPre=-/sbin/ip addr add 141.14.16.1/20 dev net03 | ||
ExecStart=/package/dns/2014-12-03/sbin/named -4 -c /package/dns/2014-12-03/etc/named.conf | ||
ExecStopPost=-/sbin/ip addr del 141.14.16.1/20 dev net03 | ||
|
||
[Install] | ||
WantedBy=network.target | ||
|