lib/process/daemon/controller.rb in process-daemon-0.5.3 vs lib/process/daemon/controller.rb in process-daemon-0.5.4

- old
+ new

@@ -152,9 +152,13 @@ end return daemon_state end + def pid + ProcessFile.recall(@daemon) + end + # How long to wait between checking the daemon process when shutting down: STOP_PERIOD = 0.1 # Stops the daemon process. def stop