[Pm-utils] [PATCH] use service unconditionally
newsuser at famdijkstra.org
Thu Mar 8 04:55:41 PST 2007
On Thu, 8 Mar 2007 14:13:47 +0200
"S.Ça__lar Onur" <caglar at pardus.org.tr> wrote:
> 07 Mar 2007 Çar tarihinde, S.Ça__lar Onur __unlar__ yazm____t__:
> > This is the 3rd version of "use service binary unconditionally without
> > checking /etc/init.d/$ existence" patch which disscussed this list 2 months
> > ago, its basically rebased against current CVS tree, if there is no
> > objection i strongly suggest applying this, we already using "service"
> > command on "pm/functions" in stopservice to check service status. Plus
> > Pardus (which uses pm-utils on its default installation) has no concept
> > like init script so upstream version is always fails for us for that check.
> Heh, and the actual patch :)
This won't work on debian and derivatives, we don't have a `service' binary.
We could create a wrapper function that checks for service and calls
More information about the Pm-utils