Comment 9 for bug 33235

Revision history for this message
griph (griph) wrote :

It's possible to put script for creating /var/run/firebird2 and setting its permissions to
/etc/init.d and then call it with /etc/rcS.d

/etc/init.d/firebird.sh:

#!/bin/sh
mkdir /var/run/firebird2
chmod 770 /var/run/firebird2
chown firebird:firebird /var/run/firebird2

and then do somethig like...

sudo /etc/init.d/firebird.sh # to start work without reboot
sudo update-rc.d start firebird.sh 64 S . # to recreate directory automatically

...if I remember update-rc.d parameters order right.
This works on my two ubuntu 6.06 servers.