Top Level Namespace
Defined Under Namespace
Modules: ApnMachine
Instance Method Summary collapse
Instance Method Details
#daemonize ⇒ Object
18 19 20 21 22 23 24 25 26 |
# File 'bin/apnmachined', line 18 def daemonize = { :backtrace => true, :ontop => false, :log_output => true, :app_name => 'apnmachined' } Daemons.daemonize() end |
#usage ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'bin/apnmachined', line 8 def usage puts "Usage: apnmchined [switches] --pem <path>" puts " --redis-address [127.0.0.1] bind address of proxy" puts " --redis-port [6379] port proxy listens on" puts " --server <gateway.push.apple.com> the apn server to send messages to" puts " --log </var/log/apnmachined.log the path to store the log" puts " --daemon to daemonize the server" puts " --help this message" end |