Skip to content

Commit

Permalink
named.service: Update for bind 9.20.0 installation path
Browse files Browse the repository at this point in the history
bind version 9.20.0 has been installed into /package/dns/bind-9.20.0-0.
The old version 9.9.6-P1 is in /package/dns/2014-12-03.

Update path to new version.

Update config file name as well which has been moved into
/package/dns/etc.

Use expanded local path so that named startup doesn't depend on
automounter.
  • Loading branch information
donald committed Aug 24, 2024
1 parent 850a708 commit 0ce0b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/systemd/system/named.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ConditionHost=wtf.molgen.mpg.de
[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
ExecStart=/amd/wtf/1/package/dns/bind-9.20.0-0/sbin/named -4 -c /amd/wtf/1/package/dns/etc/named.conf
ExecStopPost=-/sbin/ip addr del 141.14.16.1/20 dev net03

[Install]
Expand Down

0 comments on commit 0ce0b9e

Please sign in to comment.