[packages/ejabberd] - rel 3; run all command via daemon(), so limits gets applied correctly and we don't hit: File opera

Arkadiusz Miśkiewicz arekm at maven.pl
Thu May 8 09:57:02 CEST 2014


On Thursday 08 of May 2014, Elan Ruusamäe wrote:
> On 07.05.2014 00:27, arekm wrote:
> >   stop() {
> >   
> >   	# Stop daemons.
> >   	if [ -f /var/lock/subsys/ejabberd ]; then
> > 
> > -		msg_stopping ejabberd ; busy
> > -		/usr/sbin/ejabberdctl stop 2>/dev/null
> > +		msg_stopping ejabberd
> > +		daemon /usr/sbin/ejabberdctl stop
> > 
> >   		RETVAL=$?
> 
> no, no... no!

Should be better now.

-- 
Arkadiusz Miśkiewicz, arekm / maven.pl


More information about the pld-devel-en mailing list