Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Perl script as daemon

by igelkott (Priest)
on Apr 26, 2009 at 21:20 UTC ( #760193=note: print w/replies, xml ) Need Help??


in reply to Re^2: Perl script as daemon
in thread Perl script as daemon

Yep, saw that too but I guessed that the OP transferred the script to windows when I read "service ... start"

Of course, now that I think about it, some (all?) modern linux distributions use a GUI for services so you're probably right and I tried to answer the wrong question. Certainly wouldn't be the first time.

Replies are listed 'Best First'.
Re^4: Perl script as daemon
by Anonymous Monk on Apr 26, 2009 at 21:49 UTC
    Hi, thanks for the replies. Yes I think its that stdin/out are not available to the service. The command is basically an `snmpwalk` that should run and return the result which my script deals with. I've also tried using in/out pipes while getting another file to run the snmp, but the syswrite isnt sending anything. Arghhh sorry for the vagueness I haven't the code with me atm. Dave.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://760193]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2021-04-11 01:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?