[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PROPOSAL] Directories for local initialization scripts



On Fri, Aug 20, 1999 at 09:22:38PM -0700, Joey Hess wrote:
> Julio wrote:
> > init scritps, I'd like to propose the creation of a mechanism to handle
> > user init scripts. Some users actually need to have persistent processes
> > between reboots, and using similar functionalities for the system init
> > mechanisms could be interesting.
> 
> 0 * * * *       generate_web_stats
> @reboot eggdrop
> 
> That second line (I think I got it right), is valid in a crontab file and
> makes the job be run on reboot. (This is documented only in the cron source
> -- did you know @yearly, @monthly, @midnight, etc are valid too?)

Thanks for the tip, I didn't knew crontab could be used for that. 

> 
> > To make things easier, this could be
> > implemented using a single user dir (something like .rc.d) to contain the
> > user scripts. These scripts would run after all the regular system init
> > scripts (for the 'unlocked' users).
> 
> Sysadmins everywhere would curse us if we put a globally writable directory
> in /etc, which is on the root filesystem which is often pretty tightly
> locked down.

Maybe I haven't made my idea clear enough. .rc.d would be created on a per-user basis.

> 
> -- 
> see shy jo
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-policy-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 


Reply to: