home Mail List
Info
Info
Meetings
Goals
Upcoming
Projects
FAQ
Security
Links

[Date Prev][Date Next] [Chronological] [Thread] [Top]

[NMLUG] Debian Startup Script



On Wed, Oct 06, 2004 at 10:43:54AM -0600, Sam Noble wrote:
> On Wed, 2004-10-06 at 08:30 -0700, Tim Emerick wrote:
> > Thanks for the pointers.  I like the idea of setuid.  Works just as
> > described.  In my case I'm trying to make sure this prog runs as a
> > regular user instead of root.  I plan on having it start at
> > boot.....if I can just figure out how.  <grin>
> 
> 
> You put the script in /etc/init.d an then need a specially named symlink
> in the right /etc/rc* directory.
> There's a tool called updaterc that can set this up; but the syntax is a
> bear so I just make symlinks by hand.

Yea and I suppose you use a mailreader instead of piping your spool to more,
you people, honestly! ;-)

> 
> # ln -s /etc/init.d/boinc /etc/rcS.d/S20boinc
> 
> where 20 is greater
> than /etc/rcS.d/S<anything_that_should_happen_before_boinc>
> and less than /etc/rcS.d/S<anything_that_should_happen_after_boinc>


> _______________________________________________
> NMLUG mailing list
> NMLUG@nmlug.org
> http://www.nmlug.org/mailman/listinfo/nmlug


-- 

James Hamilton
Southwest Cyberport
http://www.swcp.com
505-232-7992		



Please send sugestions and comments to webmaster@nmlug.org.
Valid XHTML 1.1! Valid CSS! Powered by Debian Powered by Apache