Unicornã®åèµ·åã¯ã·ã°ãã«ï¼USR2çï¼ãçºè¡ãããã¨ã§éåæçã«è¡ãããã®ã§ãæåããã®ã失æããã®ãããããã¥ããã ä¾ãã°Capistranoçã§ã¢ããªã±ã¼ã·ã§ã³ããããã¤ãããã¨ãUnicornã®åèµ·åãè¡ãããã®åèµ·åãæåã失æããå¤æããããã¨ãããã ã¨ããããã§ã Unicorn ã åæçã« restart ããã¹ã¯ãªãããæ¸ããã 使ãæ¹ã¨ä»çµã¿ ä¸è¨ã¹ã¯ãªããã unicorn_restart.rb ã¿ãããªååã§ä¿åãã以ä¸ã®ããã« Unicorn ã® PID ãã¡ã¤ã«ãä¸ãã¦å®è¡ãã¾ãã $ unicorn_restart.rb /tmp/unicorn.pidããã¯ä»¥ä¸ã®ããã«åä½ãã¾ãã unicorn ã® master ããã»ã¹ã« USR2 ã·ã°ãã«ãéã unicorn.pid.oldbin ãç£è¦ããåèµ·åãçµããã®ãå¾ ã¤ åèµ·åãçµãã£ããã
{{#tags}}- {{label}}
{{/tags}}