Method: Exekutor::Internal::CLI::Daemon#daemonize
- Defined in:
- lib/exekutor/internal/cli/daemon.rb
#daemonize ⇒ void
This method returns an undefined value.
Daemonizes the current process and writes out a pidfile.
21 22 23 24 25 |
# File 'lib/exekutor/internal/cli/daemon.rb', line 21 def daemonize validate! ::Process.daemon true write_pid end |