Changing gitosis repository directory

It took me a while to figure it out, so i thought it might be useful to someone else as well.

Simply move the gitosis folder from /srv to the new directory and change the home directory of the gitosis user to the new location.

mv /path/to/new/gitosis/
usermod -d /path/to/new/gitosis/ gitosis

Leave a Reply

Kontakt: mail@gamgee.de