Changeset dc905ac


Ignore:
Timestamp:
01/10/2021 04:15:58 PM (3 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
d186c30
Parents:
927658a5
Message:

Add note about using the daemon; fix $HOME of git user

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24099 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r927658a5 rdc905ac  
    8484<!-- End LFS versions -->
    8585
    86 <!ENTITY blfs-bootscripts-version     "20210105">
     86<!ENTITY blfs-bootscripts-version     "20210110">
    8787<!ENTITY systemd-units-version        "20210105">
    8888
  • general/prog/gitserver.xml

    r927658a5 rdc905ac  
    7171     
    7272<screen role="root"><userinput>install -o git -g git -dm0700 /home/git/.ssh &amp;&amp;
    73 install -o git -g git -m0600 /dev/null /home/git/.ssh/authorized_keys
    74 </userinput></screen>
     73install -o git -g git -m0600 /dev/null /home/git/.ssh/authorized_keys</userinput></screen>
    7574
    7675      <para>
     
    293292        repository is to be found. This can be achieved by creating a
    294293        configuration file named <filename>/etc/sysconfig/git-daemon</filename>.
    295         This configuration file will be imported if it exists. It can
    296         look like:</para>
     294        This configuration file will be imported if it exists, meaning it is
     295        optional. The file can look like:</para>
    297296<screen revision="sysv">
    298297# Begin /etc/sysconfig/git-daemon
     
    354353        </itemizedlist>
    355354      </para>
     355
     356      <para>
     357        After starting the daemon, unauthenticated users can clone exported
     358        repositories by using
     359      </para>
     360<screen role="nodump"><userinput>git clone git://gitserver/project1.git</userinput></screen>
     361
     362      <para>
     363        As the basedir is <filename class="directory">/srv/git</filename> by
     364        default (or set to a custom value in the config), <application>git</application>
     365        interprets the incoming path (/project1.git) relative to that base
     366        directory so that the repository in <filename class="directory">/srv/git/project1.git</filename>
     367        is served.
     368      </para>
    356369     
    357370    </sect3>
Note: See TracChangeset for help on using the changeset viewer.