Bug#623529: pu: package git/1:1.7.2.5-2
Adam D. Barratt wrote:
> On Wed, 2011-04-20 at 17:58 -0500, Jonathan Nieder wrote:
>> -sv force-stop git-daemon 2>/dev/null || :
>> +sv force-shutdown /etc/sv/git-daemon 2>/dev/null || :
>
> Is the switch from "git-daemon" to "/etc/sv/git-daemon" here
> intentional?
Yes, sv will not control a removed service unless passed the full path
/etc/sv/git-daemon. (Thiatis because update-service removes the
/etc/service/git-daemon symlink that sv would normally use. The
update-service(8) manual hints at this under --remove:
You can use the sv(8) program to control the removed service, or
query its status, e.g.:
# sv status service-directory
).
Reply to: