Created
January 30, 2012 08:49
-
-
Save migrs/1703406 to your computer and use it in GitHub Desktop.
process checks for nscd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bluepill.application("system", :log_file => '/var/log/bluepill/system.log') do |app| | |
app.process('nscd') do |process| | |
process.pid_file = '/var/run/nscd/nscd.pid' | |
process.start_command = '/etc/init.d/nscd start' | |
process.stop_command = '/etc/init.d/nscd stop' | |
process.restart_command = '/etc/init.d/nscd restart' | |
process.checks :mem_usage, :every => 10.minutes, :below => 100.megabytes, :times => [3,5] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment