Skip to content

Instantly share code, notes, and snippets.

@marcy-terui
Last active August 29, 2015 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcy-terui/da2054207762ed319dc7 to your computer and use it in GitHub Desktop.
Save marcy-terui/da2054207762ed319dc7 to your computer and use it in GitHub Desktop.
ChefのService Resourceで起動スクリプトのstatusコマンドに返り値が無くてうまく動かない時の対処法 ref: http://qiita.com/Marcy/items/e9db6dec6fb035a4b7fd
service "hoge" do
supports :status => true
end
service "hoge" do
supports :status => false
end
service "hoge" do
status_command 'hoge piyo'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment