Windows Perl Scripting Forums » News

"How To" guide for converting to Win32::Daemon

(6 posts)
  • Started 4 years ago by LimbicRegion
  • Latest reply from LimbicRegion

  1. LimbicRegion
    Member

    I have cross posted this question at http://perlmonks.org/?node_id=716248

    Assume I only realized after I have finished a rather complex application (OO framework) that I wanted to turn it into a service.  Is there a "how to" guide for converting the application to Win32::Daemon?

    Additionally, What are the chances of being successful at installing the beta version on perl 5.10 with Vista? 

     

    Posted 4 years ago #
  2. Showkilr
    Member

    I actually got this to install.  It was a bit of work.  heres the method to install.  I had to create the package file and modify the ppd. 

     ppm install http://www.showkilr.com/Roth/Win32-daemon.ppd

     

     

    Posted 4 years ago #
  3. LimbicRegion
    Member

    Showkilr

    Great - thanks.  Any idea about the other part of the post ("How to" guide)?  I have only glanced at the docs but it seems like making a program a service via Win32::Daemon is intended to be done up front as part of the design and I am already finished.  Now just trying to convert.

    Posted 4 years ago #
  4. Showkilr
    Member

    i would figure to do it the same way as my application use the daemon.pl as a wrapper around the true executable.  I know this is the way I needed to complete the action as my app has a problem with the vendors server at times.

    Posted 4 years ago #
  5. Showkilr
    Member

    Fixed a bug in the package where the case in the filename of Daemon.pm was incorrect..  Originally its DAEMON.PM and needs to be converted to Daemon.pm

    if you uninstall the package and reinstall it should work or just rename the PM file.

    Posted 4 years ago #
  6. LimbicRegion
    Member

    Showkilr

     FYI, you still have an issue, the URL inside the PPD must be a local host.  I figured out what the real URL should be and modified a local copy but you might want to fix it.

     Thanks - hope this works on Vista

    Posted 4 years ago #

RSS feed for this topic

Reply

You must log in to post.