RUN buildslave create-slave /var/lib/buildslave localhost:9989 example-slave pass
RUN chown -R buildbot:buildbot /var/lib/buildmaster /var/lib/buildslave
-CMD rc default && tail -F /var/log/messages
EXPOSE 8010
EXPOSE 9989
# Container networking happens automatically
RUN sed -i 's/need net$/use net/' /etc/init.d/*
-CMD rc default && tail -F /var/log/messages
EXPOSE 9200
RUN sed -i 's/#IRKERD_OPTS=""/IRKERD_OPTS="--host 0.0.0.0 --syslog"/' /etc/conf.d/irkerd
RUN rc-update add irkerd default
-CMD rc default && tail -F /var/log/messages
EXPOSE 6659
RUN tar -xvf kibana-latest.tar.gz --strip-components 1 -C /var/www/localhost/htdocs
RUN sed -i 's|"http://"+window.location.hostname+":9200"|"ELASTICSEARCH_URL"|' /var/www/localhost/htdocs/config.js
-CMD sed -i "s|ELASTICSEARCH_URL|${ELASTICSEARCH_URL}|" /var/www/localhost/htdocs/config.js && rc default && tail -F /var/log/messages
+CMD sed -i "s|ELASTICSEARCH_URL|${ELASTICSEARCH_URL}|" /var/www/localhost/htdocs/config.js && rc default && exec tail-syslog
EXPOSE 80
RUN tar -xvf kibana-3.0.0milestone4.tar.gz --strip-components 1 -C /var/www/localhost/htdocs
RUN sed -i 's|"http://"+window.location.hostname+":9200"|"ELASTICSEARCH_URL"|' /var/www/localhost/htdocs/config.js
-CMD sed -i "s|ELASTICSEARCH_URL|${ELASTICSEARCH_URL}|" /var/www/localhost/htdocs/config.js && rc default && tail -F /var/log/messages
+CMD sed -i "s|ELASTICSEARCH_URL|${ELASTICSEARCH_URL}|" /var/www/localhost/htdocs/config.js && rc default && exec tail-syslog
EXPOSE 80
# Container networking happens automatically
RUN sed -i 's/need net$/use net/' /etc/init.d/*
-CMD sed -i "s/^MEMUSAGE=.*/MEMUSAGE=\"${MEMUSAGE}\"/" /etc/conf.d/memcached && rc default && tail -F /var/log/messages
+CMD sed -i "s/^MEMUSAGE=.*/MEMUSAGE=\"${MEMUSAGE}\"/" /etc/conf.d/memcached && rc default && exec tail-syslog
EXPOSE 11211
RUN sed -i 's/^\t#\([^ ]\)/\t\1/' /etc/nginx/nginx.conf
RUN sed -i 's/listen 127.0.0.1:443;/listen 443 default_server;/' /etc/nginx/nginx.conf
-CMD create-vhosts-from-environment && rc default && tail -F /var/log/messages
+CMD create-vhosts-from-environment && rc default && exec tail-syslog
EXPOSE 443
# Container networking happens automatically
RUN sed -i 's/need net$/use net/' /etc/init.d/*
-CMD rc default && tail -F /var/log/messages
EXPOSE 80
# Container networking happens automatically
RUN sed -i 's/need net$/use net/' /etc/init.d/*
-CMD setup-ngircd-config-from-environment && rc default && tail -F /var/log/messages
+CMD setup-ngircd-config-from-environment && rc default && exec tail-syslog
EXPOSE 6667
# Container networking happens automatically
RUN sed -i 's/need net$/use net/' /etc/init.d/*
-CMD rc default && tail -F /var/log/messages
EXPOSE 80
# Container networking happens automatically
RUN sed -i 's/need net$/use net/' /etc/init.d/*
-CMD rc default && tail -F /var/log/messages
EXPOSE 5432
RUN sed -i 's/^\(logfile.*\)/# \1/' /etc/redis.conf
RUN sed -i 's/\(# syslog-enabled.*\)/\1\nsyslog-enabled yes/' /etc/redis.conf
-CMD rc default && tail -F /var/log/messages
EXPOSE 6379
# Container networking happens automatically
RUN sed -i 's/need net$/use net/' /etc/init.d/*
-CMD rc default && tail -F /var/log/messages
EXPOSE 80
# Container networking happens automatically
RUN sed -i 's/need net$/use net/' /etc/init.d/*
-CMD sed -i "s|NETLOC|${SERVER_PORT#tcp://}|" /etc/stunnel/stunnel.conf && rc default && tail -F /var/log/messages
+CMD sed -i "s|NETLOC|${SERVER_PORT#tcp://}|" /etc/stunnel/stunnel.conf && rc default && exec tail-syslog
EXPOSE 9999