diff options
author | Eric Wong <e@80x24.org> | 2013-10-30 23:52:38 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-10-31 05:08:19 +0000 |
commit | 885b2f28f3b31539140a8466e6205903bc7cf1d2 (patch) | |
tree | d47c0b5cf4e8b0f29c883945d68fca674e089c7f /bin/yahns | |
parent | 2710180a00635dbdf7faebc339016a045b21c863 (diff) | |
download | yahns-885b2f28f3b31539140a8466e6205903bc7cf1d2.tar.gz |
This should make it easier for Rack users to get started with yahns.
Diffstat (limited to 'bin/yahns')
-rwxr-xr-x | bin/yahns | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2,8 +2,7 @@ # -*- encoding: binary -*- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt) -$stdout.sync = $stderr.sync = true -require 'yahns' +require 'yahns/daemon' require 'optparse' config_file = daemonize = nil OptionParser.new("", 24, " ") do |opts| |