lib/yahns/daemon.rb in yahns-0.0.1 vs lib/yahns/daemon.rb in yahns-0.0.2
- old
+ new
@@ -1,7 +1,9 @@
# -*- 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)
+require 'yahns'
+
module Yahns::Daemon # :nodoc:
# We don't do a lot of standard daemonization stuff:
# * umask is whatever was set by the parent process at startup
# and can be set in config.ru and config_file, so making it
# 0000 and potentially exposing sensitive log data can be bad