Linux – How to stop git-daemon on debian

debiangitlinuxservice

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.

Best Answer

git-daemon under Debian is managed by runit.

sv stop git-daemon

should do it.