{"blog_url":"https://takuya-1st.hatenablog.jp/","description":"init.d\u30b9\u30af\u30ea\u30d7\u30c8\u4f5c\u308a\u305f\u3044\u3068\u601d\u3063\u305f\u3002\u3067\u3082Bash\u3060\u3068\u90aa\u9b54\u304f\u3055\u3044\u3044\u306e\u3067\u30de\u30a4\u30d6\u30fc\u30e0\u306eRuby\u3067\u3084\u3063\u3066\u307f\u308b\uff0e \u30b9\u30af\u30ea\u30d7\u30c8\u3092Daemon\u5316\u3059\u308b rubygem Daemons Daemons\u306fRuby\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u7c21\u5358\u306b\u30c7\u30fc\u30e2\u30f3\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30c4\u30fc\u30eb\uff0e \u4ed5\u7d44\u307f\u306fFork\u3057\u3066SetUID\u3067\u3001\u304b\u3064Thread\u3092\u3042\u3052\u3066\u308b\u3063\u307d\u3044\u3002\u4f7f\u3044\u65b9\u3001\u30e1\u30a4\u30f3\u306e\u30eb\u30fc\u30d7\u3092\u4f5c\u308b\u3002\u30e1\u30a4\u30f3\u30eb\u30fc\u30d7\u3092Daemon\u306eProc\u306b\u5165\u308c\u308b\uff0e \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb gem install daemons \u4f7f\u3044\u65b9: my_daemon.rb\u3092\u8d77\u52d5\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u307e\u3059 my_daemon.rb require 'rubygems' require 'dae\u2026","type":"rich","title":"Ruby\u3067Demonize\u3059\u308b\u3068\u304d\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u304b\u4f7f\u3044\u65b9\u3068\u304b  ","image_url":null,"height":"190","blog_title":"\u305d\u308c\u30de\u30b0\u3067\uff01","version":"1.0","published":"2011-05-28 19:08:31","width":"100%","author_url":"https://blog.hatena.ne.jp/takuya_1st/","url":"https://takuya-1st.hatenablog.jp/entry/20110528/1306577311","provider_url":"https://hatena.blog","author_name":"takuya_1st","provider_name":"Hatena Blog","categories":[],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F20110528%2F1306577311\" title=\"Ruby\u3067Demonize\u3059\u308b\u3068\u304d\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u304b\u4f7f\u3044\u65b9\u3068\u304b   - \u305d\u308c\u30de\u30b0\u3067\uff01\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}