From ArchWiki
Revision as of 15:14, 8 May 2013 by Mindph (talk | contribs)
Jump to: navigation, search
useradd -m -U -r -s /bin/bash -d /srv/git git
su - git
gitolite setup -pk

Doesnt work:

[root@git gitolite-git]# useradd -m -U -r -s /bin/bash -d /srv/git git
[root@git gitolite-git]# su - git
[git@git ~]$ pwd
[git@git ~]$ gitolite setup -pk
FATAL: errors found but logfile could not be created
FATAL: /srv/git/.gitolite/logs/gitolite-2013-05.log: No such file or directory
FATAL: die '' not a readable file

Don't I have to create id_rsa first? Don't I have to mkdir .gitolite first?