Mail archive
alpine-devel

Re: [alpine-devel] [PATCH] testing/exim: post-install add SUID bit for correct --signal HUP reload

From: Валерий Картель <valery_at_kartel.kiev.ua>
Date: Fri, 05 Dec 2014 17:31:56 +0200

Yes, that is correct. I'll make new patch. Btw, what about to use "service <name>" command insteard of /etc/init.d/<name> ?

Like this: service exim --ifstarted --quiet reload

5 груд. 2014 16:11, користувач Timo Teras <timo.teras_at_iki.fi> написав:
>
> On Fri, 5 Dec 2014 14:34:58 +0100
> Natanael Copa <ncopa_at_alpinelinux.org> wrote:
>
> > How about checking if it is actually running before reload?
> >
> > if /etc/init.d/exim --quiet status; then
> >     /etc/init.d/exim --quiet reload
> > fi
>
> Or just:
> /etc/init.d/exim --ifstarted --quiet reload
>
> ?
R{.n+yׯz_˛mbzX+ijZb^~i+-iw{
Received on Fri Dec 05 2014 - 17:31:56 GMT