Re: how to enable/start "git@.service" via systemd?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux