diff options
authorJaromil <>2013-07-10 15:33:03 (GMT)
committer Jaromil <>2013-07-10 15:33:03 (GMT)
commita546e75c82fde864c1a01be8129818395229a55f (patch)
parent1af282f7df86eac919c6112e40ab9a22cefa6c0e (diff)
added documentation on the install script
1 files changed, 31 insertions, 1 deletions
diff --git a/ b/
index 954c35e..a604d5c 100644
--- a/
+++ b/
@@ -16,7 +16,37 @@ gitzone-shell is similar to git-shell but it restricts the user to the zones
repository and provides some additional commands for dynamic DNS updates & SSH
key management. To use it the Z shell must be installed (zsh).
-* Installation
+* Installation (semi-automatic)
+Gitzone comes with a relatively simple script: gitzone-install
+whose usage is self-descriptive:
+ : # gitzone-install username [ ]
+First argument is a user on the machine which will be the user in the git url.
+Second argument is the first public ssh key which will have write permissions to change zones
+(it is optional and can be added later)
+So first install bind9 (not covered by this documentation),
+then create your user and then run the script with all the arguments in place.
+Then create /etc/bind/repos/${user}.conf and put inside:
+: zone "" {
+: type master;
+: notify yes;
+: file "/var/cache/bind/$user/";
+: allow-transfer { transfer; };
+: };
+Then restart the bind9 daemon.
+Gitzone can be installed on multiple users on the same machine,
+this way there can be different admins (or groups of admins)
+for different zones all on the same machine.
+* Installation (manual)
- set PREFIX in Makefile and make sure the paths in the hooks are correct, then
: # make install