github.com/mackerelio/mackerel-agent-plugins@v0.89.3/packaging/tar/build.sh (about) 1 #!/bin/sh 2 3 set -eu 4 cd build/mackerel-agent-plugins-${VERSION}-${ARCH} 5 for i in accesslog apache2 aws-ec2-ebs conntrack docker elasticsearch fluentd gostats h2o haproxy inode jmx-jolokia jvm linux mailq memcached mongodb multicore munin mysql nginx openldap php-apc php-fpm php-opcache plack postgres proc-fd rabbitmq redis sidekiq snmp solr squid td-table-count trafficserver twemproxy unicorn uptime uwsgi-vassal varnish; do \ 6 ln -s ./mackerel-plugin mackerel-plugin-$i; \ 7 done 8 cd .. 9 tar czf mackerel-agent-plugins-${VERSION}-${ARCH}.tar.gz mackerel-agent-plugins-${VERSION}-${ARCH}