å æ¥webrickã®ã½ã¼ã¹ãå°ãèªãã ã®ã§ãããdaemonãä½ãé¨åããããããã¾ããã§ããã def Daemon.start exit!(0) if fork Process::setsid exit!(0) if fork Dir::chdir("/") File::umask(0) STDIN.reopen("/dev/null") STDOUT.reopen("/dev/null", "w") STDERR.reopen("/dev/null", "w") yield if block_given? end å ·ä½çã«ããããªãé¨åãæ¸ã㨠Process::setsidã£ã¦ãªã«ï¼ ãªãã§forkäºåããã£ã¦ãã®ï¼ ãã®å¾ã®chdirã¨ãumaskã¨ãreopenã¨ãã¯ä½ã§ãã£ã¦ããã ããï¼ ã®ãããªã¨ãããã¤ã¾ãã»ã¼å ¨é¨ã§ããã»ã»ã»ï¼ï¼ ããã§ãã¤ãã®ããã«èª¿ã¹ã¾ããã Pro
{{#tags}}- {{label}}
{{/tags}}