On Mon, 07 Feb 2005 10:15:07 +1100, Sh4d03 wrote:
> Hi all,
>
> I'm afraid the method of starting applications/daemons on boot with OpenBSD
> leaves me a little confused.
>
> I've tried googling and looking through the manuals but haven't been able to
> find a definitive answer. I've used package add to install the mysql client
> and server applications to OpenBSD 3.6. What I'm now having trouble doing (I
> think) is creating a startup script to make mysqld start at boot.
>
> I'm trying to install and run qmail on my box and you can follow my progress
> at:
>
> http://www.linuxquestions.org/quest...480#post1443480
>
> I have a startup script in place which is listed in my qmail thread (link
> above) - but I'm having trouble with it.
>
> If anyone could please help me with starting mysqld at boot or trouble
> shooting my problem from an OBSD perspective it would be greatly
> appreciated.
>
> Sh4d03
Hi ..
Ive just installed mysql on my OpenBSD 3.6 for my webserver
following these step by step instructions
http://www.bsdforums.org/forums/show...&threadid=9986
specifically they recommend this
# vi /etc/rc.local
rm -R /var/www/var/run/mysql
mkdir -p /var/www/var/run/mysql
/usr/local/bin/mysqld_safe --user=mysql -log &
sleep 10
ln /var/run/mysql/mysql.sock /var/www/var/run/mysql/mysql.sock
HTH
--
Hardware, n.: The parts of a computer system that can be kicked