Re: start daemon with rc.d

2011-12-21 Thread Antti Harri
On Wednesday 21 December 2011 12:26:32 pavel pocheptsov wrote: > Hello misc. > In old release of OBSD to start daemons with system was used rc.local. > For example: > if [ -x /usr/local/bin/mysqld_safe ] ; then >su -c _mysql root -c '/usr/local/bin/mysqld_safe >/dev/null 2>&1 &' >echo -n '

Re: start daemon with rc.d

2011-12-21 Thread Vitali
On Wed, Dec 21, 2011 at 12:27 PM, Antoine Jacoutot wrote: > On Wed, Dec 21, 2011 at 03:17:24PM +0400, pavel pocheptsov wrote: >> 21 P4P5P:P0P1QQ B 2011, 14:41 P>Q B Antoine Jacoutot : >> > On Wed, Dec 21, 2011 at 02:26:32PM +0400, pavel pocheptsov wrote: >> > > Hello misc. >> > > In old release of

Re: start daemon with rc.d

2011-12-21 Thread Antoine Jacoutot
On Wed, Dec 21, 2011 at 03:17:24PM +0400, pavel pocheptsov wrote: > 21 P4P5P:P0P1QQ 2011, 14:41 P>Q Antoine Jacoutot : > > On Wed, Dec 21, 2011 at 02:26:32PM +0400, pavel pocheptsov wrote: > > > Hello misc. > > > In old release of OBSD to start daemons with system was used rc.local. > > > For exa

Re: start daemon with rc.d

2011-12-21 Thread Antoine Jacoutot
On Wed, Dec 21, 2011 at 02:26:32PM +0400, pavel pocheptsov wrote: > Hello misc. > In old release of OBSD to start daemons with system was used rc.local. > For example: > if [ -x /usr/local/bin/mysqld_safe ] ; then >su -c _mysql root -c '/usr/local/bin/mysqld_safe >/dev/null 2>&1 &' >echo -