LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-30-2005, 12:31 PM   #1
shahidawan
LQ Newbie
 
Registered: Mar 2005
Posts: 13

Rep: Reputation: 0
Question run perl server on startup


dear all,
i hv programmed a webserver as a service in perl, and i wish to start it on linux startup. I added it in /etc/rc command like "perl /root/pws/serverpws.pl " |
as a result it runs as a service on startup. but system hangs on it as it starts for listening its own clients.
I could find a mthod how to run it in a separate process. or how to start in better way so that system would never hang.

Thanx
Shahid Awan
 
Old 03-31-2005, 10:53 PM   #2
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Append an ampersand (&) to the end of the command to background it when the computer boots.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl Scripts at startup? Suse 9.3 Drfarfrompuken Linux - Newbie 8 08-05-2005 09:12 AM
Running Perl Script upon startup andy7t Linux - Software 1 04-20-2005 05:43 PM
Perl:CPAN problem on startup jester_69 Linux - Software 0 10-04-2003 09:29 PM
Apache server and MySQL server won't run at startup! dday007 Linux - General 2 02-07-2003 03:51 PM
Getting Perl to run mingtim32001 Linux - Software 0 01-21-2002 12:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration