Method: Maid::App#daemon
- Defined in:
- lib/maid/app.rb
#daemon ⇒ Object
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'lib/maid/app.rb', line 80 def daemon maid = Maid::Maid.new(()) if Maid::TrashMigration.needed? migrate_trash return end unless .silent? say "Logging actions to #{ maid.log_device.inspect }" end maid.load_rules maid.daemonize end |