Re: Redhat run at boot

From: Jens-S. Voeckler <voeckler@dont-contact.us>
Date: Mon, 2 Nov 1998 16:18:07 +0100

On Mon, 2 Nov 1998, John Golovich wrote:

]As far as I know if I run it in rc.local, it will run as user root.

We use something like

        su squid -c 'cd /usr/local/squid && nohup bin/RunCache &'

in our startup scripts. Shutdown is a trifle more difficult, though.

Le deagh dhùrachd,
Dipl.-Ing. Jens-S. Vöckler (voeckler@rvs.uni-hannover.de)
Institute for Computer Networks and Distributed Systems
University of Hanover, Germany; +49 511 762 4726
Received on Mon Nov 02 1998 - 08:22:44 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:56 MST