[ubuntu-in] Auto starting a service by adding it in rc.local is not working for me ....Please help
Hrishikesh Murali
hrishikeshmurali88 at gmail.com
Fri Feb 12 09:11:35 GMT 2010
Hi,
On Fri, Feb 12, 2010 at 1:41 PM, BR!j!TH <brijithp at gmail.com> wrote:
> I have created a client server scripts in python. The server script is to
> be run background in a system all the time..
> So I decided to put it in rc.local. But its not working. I don't know why
> ..?
> An interesting thing is the script that I added in rc.local in running but
> it is not working in desired why ...
> But when I run the script manually in a terminal its working flawlessly...
>
Is this program you are running independent or does it depend on some other
files also?
Can you mention what is the command you are running in rc.local?
The reason I am saying this is because when the script in rc.local is
called, it runs under the '/' directory and this might be the error, that is
the program is running but not as desired.
If it not independent, then I suggest you give the full path of the files
which the server script depends on.
--
Thanks and Regards,
Hrishikesh Murali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-in/attachments/20100212/499018d7/attachment.htm
More information about the ubuntu-in
mailing list