1 The git.socket and git@.service files in this directory are
2 SAMPLE systemd files that can be placed in /etc/systemd/system/
3 to properly set up the git daemon to enable cloning over the git
6 If you have xinetd/inetd instead of systemd please refer to the
7 ../xinetd/README file instead.
9 Please be sure to examine all the paths in the git@.service file
10 and adjust them as necessary for your installation before using!
12 Especially note that if IPv6 is disabled on the system or
13 net.ipv6.bindv6only is enabled (set to other than 0), then the
14 BindIPv6Only setting will certainly need to be adjusted in the
17 The command "sudo systemctl enable git.socket" must be run after
18 installing the git.socket and git@.service files in the
19 /etc/systemd/system/ directory.
21 To activate the git service before the next reboot, after the
22 git.socket and git@.service files have been installed in
23 /etc/systemd/system/ AND the "sudo systemctl enable git.socket"
24 command has been run, use the "sudo systemctl start git.socket"
27 Note that while you can indeed "sudo systemctl start git.socket"
28 after having installed the git.socket and git@.service files in
29 the /etc/systemd/system/ directory, if you fail to run the
30 "sudo systemctl enable git.socket" command then the git service
31 will NOT automatically start at next reboot.