pgrep -F pidfileãªãã·ã§ã³ã使ãã¨ãpidfileãéãã¦ããã®ä¸ã«ããããã»ã¹IDãåå¨ããã調ã¹ãåå¨ãã¦ããå ´åã«ã¯ã0ã§çµäºãã¦ãããããã ã ãªã®ã§ãèµ·åã¹ã¯ãªããã¨ãã§ãpidfileã®åå¨ãã§ãã¯ã¨ããããã¨ãã«ã¯ã if test -e $PIDFILE && pgrep -F $PIDFILE > /dev/null; then restart fi ã¨ãæ¸ãã¦ããã°ããã·ã³ããã³ã°ã¢ããã¨ããã¦ãæ£å¸¸ã«çµäºããªãã¦ãpidfileãæ®ã£ã¦ããããã¡ã¤ã«å ã«ããããã»ã¹IDã¯ããããªãå ´åã«restartããã¦ãæ²ãããã¨ã«ãªããã«ããã
{{#tags}}- {{label}}
{{/tags}}