Martin Fahrendorf wrote:
> Am Mittwoch, 22. Januar 2003 15:39 schrieb Buchan Milne:

>>I tried to use "su - mysql -c '(existing safe_mysqld command)'" in the
>>init script, but that didn't work.
>>
>>Any ideas?
> 
> 
> Hm,
> 
> I use
> 
> cmd="$bindir/safe_mysqld --datadir=$datadir --pid-file=$pid_file 2>&1 | logger -t 
>safe_mysqld &"
> su - mysql -c "$cmd"
> 
> in my mysql script in /etc/init.d and it works fine here. But if i recal fine, the 
>way
> su - mysql -c "$bindir/safe_mysqld --datadir=$datadir --pid-file=$pid_file 2>&1 | 
>logger -t safe_mysqld &"
> does not work.
> 

Works for me ...

Warly, can you try this? Or must I submit a patch?


-- 
|--------------Another happy Mandrake Club member--------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7


Reply via email to