From aaea51bbbee9d3f1e2719e4186e28a1193c03789 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 15 May 2021 18:38:09 +0100 Subject: some typos --- content/html/gemfeed/2011-05-07-perl-daemon-service-framework.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'content/html/gemfeed/2011-05-07-perl-daemon-service-framework.html') diff --git a/content/html/gemfeed/2011-05-07-perl-daemon-service-framework.html b/content/html/gemfeed/2011-05-07-perl-daemon-service-framework.html index 379e4361..fd73746f 100644 --- a/content/html/gemfeed/2011-05-07-perl-daemon-service-framework.html +++ b/content/html/gemfeed/2011-05-07-perl-daemon-service-framework.html @@ -114,7 +114,7 @@ daemon.alivefile=./run/perldaemon.alive daemon.wd=./

Example

-

So lets start the daemon with a loop interval of 10 seconds:

+

So let's start the daemon with a loop interval of 10 seconds:

 $ ./control keys | grep daemon.loopinterval
 daemon.loopinterval=1
@@ -169,7 +169,7 @@ sub do ($) {
 1;
 

Your own module

-

Want to give it some better use? It's just a easy as:

+

Want to give it some better use? It's just as easy as:

  cd ./lib/PerlDaemonModules/
  cp ExampleModule.pm YourModule.pm
@@ -177,7 +177,7 @@ sub do ($) {
  cd -
  ./bin/perldaemon restart (or shortcurt ./control restart)
 
-

Now watch `./log/perldaemon.log` closely. It is a good practise to test your modules in 'foreground mode' (see above how to do that).

+

Now watch `./log/perldaemon.log` closely. It is a good practice to test your modules in 'foreground mode' (see above how to do that).

BTW: You can install as many modules within the same instance as desired. But they are run in sequential order (in future they can also run in parallel using several threads or processes).

May the source be with you

You can find PerlDaemon (including the examples) at:

-- cgit v1.2.3