On Tue, 21 Aug 2007, ArcticFox wrote:
On Aug 20, 2007, at 2:20 PM, srgqwerty wrote:
Create a script in /etc/init.d and make a symbolic link to it in the rc
runlevel directory that corresponds to your runlevel (or whatever runlevel
you want the script to run).
So just chuck it in anywhere? D
On Aug 20, 2007, at 2:20 PM, srgqwerty wrote:
Create a script in /etc/init.d and make a symbolic link to it in the rc
runlevel directory that corresponds to your runlevel (or whatever
runlevel
you want the script to run).
So just chuck it in anywhere? Does it matter who owns the file? Shoul
On Tue, Aug 21, 2007 at 08:20:04AM -0400, Ralph Katz wrote:
> On 08/20/2007 03:00 PM, ArcticFox wrote:
> > Here's the situation; I have a program that needs to run at system
> > startup, but there are a few issues with that. First, it must be run
> > with a certain directory as the working director
On 08/20/2007 03:00 PM, ArcticFox wrote:
> Here's the situation; I have a program that needs to run at system
> startup, but there are a few issues with that. First, it must be run
> with a certain directory as the working directory. Second it must be run
> as the user 'Fox'
I'm no expert, but how
* srgqwerty <[EMAIL PROTECTED]> [2007 Aug 20 14:25 -0500]:
> Create a script in /etc/init.d and make a symbolic link to it in the rc
> runlevel directory that corresponds to your runlevel (or whatever runlevel
> you want the script to run).
>
> For example, the /etc/init.d/foo.sh may be:
> #!/bi
On Mon, 2007-08-20 at 21:20 +0200, srgqwerty wrote:
> Create a script in /etc/init.d and make a symbolic link to it in the
> rc runlevel directory that corresponds to your runlevel
invoke-rc.d is the tool to do that.
Anyway, you did not indicate enough how to run the things as a
particular user.
On Mon, 20 Aug 2007, ArcticFox wrote:
On Aug 20, 2007, at 2:15 PM, Neil Watson wrote:
The scripts in /etc/init.d are working examples of what you are trying to
do.
Yea I was directed there before, but those are what I was talking about where
they don't do the two things I need them to do.
On Mon, Aug 20, 2007 at 02:17:24PM -0500, ArcticFox wrote:
On Aug 20, 2007, at 2:15 PM, Neil Watson wrote:
The scripts in /etc/init.d are working examples of what you are trying
to do.
Yea I was directed there before, but those are what I was talking about
where they don't do the two things
Create a script in /etc/init.d and make a symbolic link to it in the rc
runlevel directory that corresponds to your runlevel (or whatever runlevel
you want the script to run).
For example, the /etc/init.d/foo.sh may be:
#!/bin/bash
cd /foo
/foo/make_something.sh
If you want this script to run i
On Aug 20, 2007, at 2:15 PM, Neil Watson wrote:
The scripts in /etc/init.d are working examples of what you are trying
to do.
Yea I was directed there before, but those are what I was talking about
where they don't do the two things I need them to do.
--
Neil Watson | Debian Lin
The scripts in /etc/init.d are working examples of what you are trying to do.
--
Neil Watson | Debian Linux
System Administrator| Uptime 2 days
http://watson-wilson.ca
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECT
Here's the situation; I have a program that needs to run at system
startup, but there are a few issues with that. First, it must be run
with a certain directory as the working directory. Second it must be
run as the user 'Fox'
The information I've been able to find would end up with the progra
12 matches
Mail list logo