On 2001.03.07 14:41:21 +0400 R.I.P. Deaddog wrote:
>
> An *UGLY* hack:
>
> daemon --user "-l $HLUSER" hlds_ld $mod &
>
> Too terrible, I can't even accept it myself :D
>
> A better way IMHO can be modifying /etc/rc.d/init.d/functions, adding an
> option to daemon() to specify if "su -l" or "su" should be used.
I tried this also, but if failed too :-(
Modifying /etc/rc.d/init.d/functions appears a bit out of range for just a
package. I'll stay with working-but-not-pretty start script for now :-)
--
Guillaume Rousse
Murphy's law : If anything can go wrong, it will.
O'Tool's commentary : Murphy was an optimist.