for a read-only repo:
$ sudo apt-get install git-daemon-sysvinit $ dpkg -l git-daemon-sysvinit Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-======================================-========================-========================-================================================================================== ii git-daemon-sysvinit 1:1.7.10.4-1ubuntu1 all fast, scalable, distributed revision control system (git-daemon service) $ dpkg -L git-daemon-sysvinit /. /usr /usr/share /usr/share/git-core /usr/share/git-core/sysvinit /usr/share/git-core/sysvinit/sentinel /usr/share/doc /usr/share/doc/git-daemon-sysvinit /usr/share/doc/git-daemon-sysvinit/copyright /usr/share/doc/git-daemon-sysvinit/README.Debian /etc /etc/default /etc/default/git-daemon /etc/init.d /etc/init.d/git-daemon /usr/share/doc/git-daemon-sysvinit/changelog.Debian.gz
配置 /etc/default/git-daemon 檔案