On Saturday, October 7, 2017 4:18:48 AM CDT Robert P. J. Day wrote:
(probably OT: more a systemd question than a fedora question, but
i'm sure the experts will clear this up in short order.)
wanted to experiment with the git daemon so, on my fully-updated F26
system, installed git-daemon package, whose contents are simply:
$ rpm -ql git-daemon
/usr/lib/systemd/system/git.socket
/usr/lib/systemd/system/git@.service
/usr/libexec/git-core/git-daemon
/usr/share/doc/git/git-daemon.html
/usr/share/doc/git/git-daemon.txt
/usr/share/man/man1/git-daemon.1.gz
/var/lib/git
$
i enabled the socket component easily enough with:
$ sudo systemctl enable git.socket
[sudo] password for rpjday:
Created symlink /etc/systemd/system/sockets.target.wants/git.socket →
/usr/lib/systemd/system/git.socket.
$
and started it as well, but i'm not sure how to start the git daemon
itself since, as i understand it, the presence of the "@" in the
service name typically means there can be multiple instances of them
running (eg., getty@.service), but i have no interest in multiple
invocations (and am not even sure why that would be a good thing).
cut to the chase -- what's the proper way to start the git daemon on
F26? put another way, what am i hopelessly misunderstanding here?
rday
The git-daemon service should be started "on-demand" when something connects
to the socket. -A
--
Anthony -
https://messinet.com/ -
https://messinet.com/~amessina/gallery
F9B6 560E 68EA 037D 8C3D D1C9 FF31 3BDB D9D8 99B6