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

- old
+ new

@@ -95,11 +95,11 @@ end end # This function starts the daemon process in the background. def start - @output.puts Rainbow("Starting daemon...").blue + @output.puts Rainbow("Starting #{@daemon.name} daemon...").blue case ProcessFile.status(@daemon) when :running @output.puts Rainbow("Daemon already running!").blue return @@ -157,10 +157,10 @@ # How long to wait between checking the daemon process when shutting down: STOP_PERIOD = 0.1 # Stops the daemon process. def stop - @output.puts Rainbow("Stopping daemon...").blue + @output.puts Rainbow("Stopping #{@daemon.name} daemon...").blue # Check if the pid file exists... unless File.file?(@daemon.process_file_path) @output.puts Rainbow("Pid file not found. Is the daemon running?").red return