-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting SERVICE_STOPPED immediately when running test\daemon.pl
#15
Comments
The scripts expects to be run as a service, but you run it from the console. See "Example 3" in the docs for how to set it up as a service. |
@ikegami I tried to start it first as you suggested using this script
Running the script seems to work fine:
But the service |
I think I found the error, I had misspelled the directory path to the service:
so now I can start it successfully from the |
On Windows 10 using Strawberry Perl version 5.30.1, Win32-Daemon version 20190315. When I try to run the program
daemon.pl
supplied in thetest
folder of the distribution:When I run this program it exits immediately with output:
The output of the log file
p.log
is:What am I missing here? Why am I getting
SERVICE_STOPPED
immediately before entering thewhile
loop?See also this question on stackoverflow.com
The text was updated successfully, but these errors were encountered: