~alpine/devel

1

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

Валерий Картель
Details
Message ID
<E1Xwurm-0000Am-2D@relay1.infogroup.kiev.ua>
Sender timestamp
1417793516
DKIM signature
missing
Download raw message
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@iki.fi> написав:
>
> On Fri, 5 Dec 2014 14:34:58 +0100 
> Natanael Copa <ncopa@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 
>
> ? 

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

Natanael Copa
Details
Message ID
<20141215154212.5f6bc444@ncopa-desktop.alpinelinux.org>
In-Reply-To
<E1Xwurm-0000Am-2D@relay1.infogroup.kiev.ua> (view parent)
Sender timestamp
1418654532
DKIM signature
missing
Download raw message
On Fri, 05 Dec 2014 17:31:56 +0200
******* ******* <valery@kartel.kiev.ua> wrote:

> 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

rc-service --ifstarted --quiet reload

is ok.

-nc



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---