From: Ralf Jung Date: Tue, 11 Nov 2014 09:49:11 +0000 (+0100) Subject: tune installation instructions X-Git-Url: https://git.ralfj.de/dyn-nsupdate.git/commitdiff_plain/9c1b4aadce823a79c4fed1887a20374e97ceaed8?ds=sidebyside;hp=4129afc654251c33ee9cff667606e30281e5a3ff tune installation instructions --- diff --git a/README.rst b/README.rst index 9ffaccc..78ed2aa 100644 --- a/README.rst +++ b/README.rst @@ -39,16 +39,16 @@ source directory, run:: cd nsupd-wrapper mkdir -p build cd build - cmake .. -DCMAKE_BUILD_TYPE=Release \ - -DDYNNSUPDATE_CONFIG_FILE=/var/lib/bind/dyn-nsupdate.conf + DIR=/var/lib/bind + cmake .. -DCMAKE_BUILD_TYPE=Release -DDYNNSUPDATE_CONFIG_FILE=$DIR/dyn-nsupdate.conf make This should compile the binary ``dyn-nsupdate``. If you want to put the files in another directory, change the configuration file name accordingly. You can now install it and the sample configuration file, and set their permissions:: - sudo install dyn-nsupdate /var/lib/bind/dyn-nsupdate -o bind -g bind -m +rx,u+ws - sudo install ../../dyn-nsupdate.conf.dist /var/lib/bind/dyn-nsupdate.conf -o bind -g bind -m u+rw + sudo install dyn-nsupdate $DIR/dyn-nsupdate -o bind -g bind -m +rx,u+ws + sudo install ../../dyn-nsupdate.conf.dist $DIR/dyn-nsupdate.conf -o bind -g bind -m u+rw Finally, edit the config file. The format should be pretty self-explanatory. In particular, **change the password**!