How to stop git-daemon on debian
13,626
Solution 1
git-daemon
under Debian is managed by runit.
sv stop git-daemon
should do it.
Solution 2
As far as I recall the git-daemon-run package should provide the /etc/init.d/git-daemon
Solution 3
As you can see in the README.Debian you can make a symlink :
See the sv(8) program on how to manage the service, or, alternatively, create a symbolic link /etc/init.d/git-daemon pointing to /usr/bin/sv to have an LSB compatible interface to control it:
ln -s /usr/bin/sv /etc/init.d/git-daemon
/etc/init.d/git-daemon status
Related videos on Youtube
Author by
Slartibartfast
Updated on September 17, 2022Comments
-
Slartibartfast over 1 year
I'm running debian lenny server, and I've installed git on it. Now there is a git-daemon process (and appropriate opened port), but there is no /etc/init.d/git script that I could stop. I know there is /etc/sv/git-daemon/run but that doesn't help me stopping it either.
-
Slartibartfast almost 15 yearsnope, found that on google, but doesn' work
-
Slartibartfast almost 15 yearsThanks, tried to find this, but I couldn't get good answer.
-
Enrico M. over 5 yearsIf you want to remove the package as well use
dpkg -r git-daemon-run
. Will also have the side-effect of stopping the service.