From owner-freebsd-questions Sat Dec 2 14:56:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from firefly.prairienet.org (firefly.prairienet.org [192.17.3.3]) by hub.freebsd.org (Postfix) with ESMTP id E27EB37B400 for ; Sat, 2 Dec 2000 14:56:20 -0800 (PST) Received: from sherman.spotnet.org (slip-55.prairienet.org [192.17.3.75]) by firefly.prairienet.org (8.9.3/8.9.3) with ESMTP id QAA20899; Sat, 2 Dec 2000 16:56:16 -0600 (CST) Date: Sat, 2 Dec 2000 16:56:11 -0600 (CST) From: David Talkington X-Sender: dtalk@sherman.spotnet.org To: "Alex O.Belkin" Cc: questions@FreeBSD.ORG Subject: local startup scripts [was Hello !!!] In-Reply-To: <005101c05c93$3ca702e0$4b02a8c0@cmb> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hi Alex -- There may be a more elegant way, but I do this by adding a shell script to /usr/local/etc/rc.d/. I'm lazy, so I just made one script called webservices.sh, which contains startup info for my compiled versions of squid, apache, and MySQL. Anything in that directory is run at bootup. Hope this helps -d - -- David Talkington Community Networking Initiative dtalk@prairienet.org 217-244-1962 PGP key: http://www.prairienet.org/~dtalk/dt000823.asc Alex O.Belkin wrote: >Hello, my name is Alex, I am from Moscow. > I need your help. I want to start my Squid >(path:/usr/local/squid/bin/squid) in boot time, >can you send me rc.conf.local example that will do this? > >-- > Best Regards, > Alex O.Belkin... > Express Telecom Internet Team. > > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 Comment: Made with pgp4pine 1.75-6 iQEVAwUBOil+Dr1ZYOtSwT+tAQGSvgf+NNwc37kBa77scftJZ93BRY6BcqxRPHq2 /zgI8F9xVlWgFNtS/xnG37ZdKMR/Yxot9XacdjrjFQaxloE43vWJRENA+WUzrQwh E6xMzo5Hi9+A/Yw6/U5Hd0efhTLQJ+2RdcUxVi7c7PhNxZWdE7JsK3OfUbWRCLf9 1YKYrLIEowS4vWtsUx0UA9fteqHWQ4qNBMvECmW0ZazdODZCcYrKSHFFvEcgu/Mg wnhTmnwm/GGNSJngTHETUVJ+WwVYIBBMTHMzBzo7YraVvN9N5TU9euDvh0VMkobg NeGO9bZ9DsmC+6JInapDnGisKCEQnt7it7+jGrFOlAkek2E7CosDuQ== =1nko -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message