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

Re: Running something on start up and shutdown



In article <[🔎] 20020614041205.GF7037@wheat.boylan.org>,
Ross Boylan  <RossBoylan@stanfordalumni.org> wrote:
>By the way, I'm not sure what the success thing was in the stop case
>below; I got errors when I tested it and removed it from my script.

That's because the example was actually a redhat example.

A standard init.d template can be found in /etc/init.d/skeleton
You can use the "--chuid" option to start-stop-daemon to start
something under a different uid - read the manpage.

Mike.


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: