You are not logged in.

#1 2005-10-09 09:20:04

balrog
Member
From: Czech Republic, Ostrava
Registered: 2005-09-07
Posts: 31

How to run app in background

Hi,

need help with running app in background. I know that I should edit rc.local, but what tu put in there?

In my home directory I have dir. head, and I want to run ./gate 6669.

So do I have to write there:

cd head
./gate 6669

???
THX


Respect is everything 8)

Offline

#2 2005-10-09 09:24:33

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: How to run app in background

rc.local isn't relative to your $HOME, it's run as root, not as a user. If you want something to run in the background from boot to shutdown, here's what you'd put into rc.local:

/home/balrog/head/gate 6669 &

Offline

#3 2005-10-09 10:21:06

balrog
Member
From: Czech Republic, Ostrava
Registered: 2005-09-07
Posts: 31

Re: How to run app in background

Works, thanks smile


Respect is everything 8)

Offline

Board footer

Powered by FluxBB