On Sat, 7 Oct 2017, Anthony Joseph Messina wrote:

> 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?
>
> The git-daemon service should be started "on-demand" when something
> connects to the socket.  -A

  ah, that makes sense ... so all i need to do is enable and start the
socket, and i'm in business, correct?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to