Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

resolved merge conflict

  • Loading branch information...
commit f8aaae3a00555e54fd7554d7e739db483f55f287 2 parents 7029cae + 7fa48d0
@joemiller joemiller authored
View
2  recipes/zlib.rake
@@ -22,7 +22,7 @@ Bunchr::Software.new do |t|
unless File.directory?("#{install_prefix}/lib")
t.build_commands << "mkdir #{install_prefix}/lib"
end
-
+
t.build_commands << "./configure --prefix=#{install_prefix}"
t.build_commands << "make"
View
3  sensu_configs/init.d/sensu-api
@@ -40,7 +40,6 @@ pidfile=${PIDFILE-/var/run/sensu/$prog.pid}
options=${OPTIONS}
cd $sensu_home
-export PATH=$PATH:/etc/sensu/plugins:/usr/local/sbin:/usr/local/bin
##
## Set platform specific bits here.
@@ -113,6 +112,8 @@ if [ "$system" = "debian" ]; then
fi
# TODO: support other platforms in the future: suse, gentoo, arch, slackware, etc
+export PATH=$PATH:/etc/sensu/plugins:/usr/local/sbin:/usr/local/bin
+
ensure_pid_dir () {
pid_dir=`dirname ${pidfile}`
if [ ! -d ${pid_dir} ] ; then
View
2  sensu_configs/init.d/sensu-client
@@ -40,7 +40,6 @@ pidfile=${PIDFILE-/var/run/sensu/$prog.pid}
options=${OPTIONS}
cd $sensu_home
-export PATH=$PATH:/etc/sensu/plugins:/usr/local/sbin:/usr/local/bin
##
## Set platform specific bits here.
@@ -112,6 +111,7 @@ if [ "$system" = "debian" ]; then
}
fi
# TODO: support other platforms in the future: suse, gentoo, arch, slackware, etc
+export PATH=$PATH:/etc/sensu/plugins:/usr/local/sbin:/usr/local/bin
ensure_pid_dir () {
pid_dir=`dirname ${pidfile}`
View
2  sensu_configs/init.d/sensu-dashboard
@@ -40,7 +40,6 @@ pidfile=${PIDFILE-/var/run/sensu/$prog.pid}
options=${OPTIONS}
cd $sensu_home
-export PATH=$PATH:/etc/sensu/plugins:/usr/local/sbin:/usr/local/bin
##
## Set platform specific bits here.
@@ -112,6 +111,7 @@ if [ "$system" = "debian" ]; then
}
fi
# TODO: support other platforms in the future: suse, gentoo, arch, slackware, etc
+export PATH=$PATH:/etc/sensu/plugins:/usr/local/sbin:/usr/local/bin
ensure_pid_dir () {
pid_dir=`dirname ${pidfile}`
View
2  sensu_configs/init.d/sensu-server
@@ -40,7 +40,6 @@ pidfile=${PIDFILE-/var/run/sensu/$prog.pid}
options=${OPTIONS}
cd $sensu_home
-export PATH=$PATH:/etc/sensu/plugins:/usr/local/sbin:/usr/local/bin
##
## Set platform specific bits here.
@@ -112,6 +111,7 @@ if [ "$system" = "debian" ]; then
}
fi
# TODO: support other platforms in the future: suse, gentoo, arch, slackware, etc
+export PATH=$PATH:/etc/sensu/plugins:/usr/local/sbin:/usr/local/bin
ensure_pid_dir () {
pid_dir=`dirname ${pidfile}`
View
14 sensu_configs/logrotate.d/sensu
@@ -6,6 +6,9 @@
sharedscripts
copytruncate
compress
+ postrotate
+ kill -USR2 `cat /var/run/sensu/sensu-client.pid`
+ endscript
}
/var/log/sensu/sensu-server.log {
@@ -16,6 +19,9 @@
sharedscripts
copytruncate
compress
+ postrotate
+ kill -USR2 `cat /var/run/sensu/sensu-server.pid`
+ endscript
}
/var/log/sensu/sensu-api.log {
@@ -26,6 +32,9 @@
sharedscripts
copytruncate
compress
+ postrotate
+ kill -USR2 `cat /var/run/sensu/sensu-api.pid`
+ endscript
}
/var/log/sensu/sensu-dashboard.log {
@@ -36,4 +45,7 @@
sharedscripts
copytruncate
compress
-}
+ postrotate
+ kill -USR2 `cat /var/run/sensu/sensu-dashboard.pid`
+ endscript
+}
Please sign in to comment.
Something went wrong with that request. Please try again.