Date: Wednesday, January 31, 2018 @ 08:35:47 Author: mtorromeo Revision: 288353
archrelease: copy trunk to community-x86_64 Added: beats/repos/community-x86_64/PKGBUILD (from rev 288352, beats/trunk/PKGBUILD) beats/repos/community-x86_64/auditbeat-tmpfile.conf (from rev 288352, beats/trunk/auditbeat-tmpfile.conf) beats/repos/community-x86_64/auditbeat.service (from rev 288352, beats/trunk/auditbeat.service) beats/repos/community-x86_64/filebeat-tmpfile.conf (from rev 288352, beats/trunk/filebeat-tmpfile.conf) beats/repos/community-x86_64/filebeat.service (from rev 288352, beats/trunk/filebeat.service) beats/repos/community-x86_64/filebeat.sysusers (from rev 288352, beats/trunk/filebeat.sysusers) beats/repos/community-x86_64/heartbeat-tmpfile.conf (from rev 288352, beats/trunk/heartbeat-tmpfile.conf) beats/repos/community-x86_64/heartbeat.service (from rev 288352, beats/trunk/heartbeat.service) beats/repos/community-x86_64/metricbeat-tmpfile.conf (from rev 288352, beats/trunk/metricbeat-tmpfile.conf) beats/repos/community-x86_64/metricbeat.service (from rev 288352, beats/trunk/metricbeat.service) beats/repos/community-x86_64/packetbeat-tmpfile.conf (from rev 288352, beats/trunk/packetbeat-tmpfile.conf) beats/repos/community-x86_64/packetbeat.service (from rev 288352, beats/trunk/packetbeat.service) Deleted: beats/repos/community-x86_64/PKGBUILD beats/repos/community-x86_64/auditbeat-tmpfile.conf beats/repos/community-x86_64/auditbeat.service beats/repos/community-x86_64/filebeat-tmpfile.conf beats/repos/community-x86_64/filebeat.service beats/repos/community-x86_64/filebeat.sysusers beats/repos/community-x86_64/heartbeat-tmpfile.conf beats/repos/community-x86_64/heartbeat.service beats/repos/community-x86_64/metricbeat-tmpfile.conf beats/repos/community-x86_64/metricbeat.service beats/repos/community-x86_64/packetbeat-tmpfile.conf beats/repos/community-x86_64/packetbeat.service -------------------------+ PKGBUILD | 294 +++++++++++++++++++++++----------------------- auditbeat-tmpfile.conf | 4 auditbeat.service | 22 +-- filebeat-tmpfile.conf | 4 filebeat.service | 24 +-- filebeat.sysusers | 2 heartbeat-tmpfile.conf | 4 heartbeat.service | 22 +-- metricbeat-tmpfile.conf | 4 metricbeat.service | 22 +-- packetbeat-tmpfile.conf | 4 packetbeat.service | 22 +-- 12 files changed, 214 insertions(+), 214 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-01-31 08:35:20 UTC (rev 288352) +++ PKGBUILD 2018-01-31 08:35:47 UTC (rev 288353) @@ -1,147 +0,0 @@ -# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> -# Contributor: Tyler Langlois <ty |at| tjll |dot| net> - -pkgbase=beats -pkgname=(filebeat packetbeat metricbeat heartbeat-elastic auditbeat) -pkgver=6.1.1 -pkgrel=1 -pkgdesc='Data shippers for Elasticsearch' -arch=('x86_64') -url='https://www.elastic.co/products/beats' -license=('APACHE') -depends=('glibc') -makedepends=('go-pie' 'git' 'libpcap' 'rsync' 'python') -optdepends=('elasticsearch: for standalone installation' - 'python: for migration script') -options=('!strip') -source=("https://github.com/elastic/beats/archive/v$pkgver/beats-$pkgver.tar.gz" - "filebeat.sysusers" - "filebeat.service" - "packetbeat.service" - "metricbeat.service" - "heartbeat.service" - "auditbeat.service" - "filebeat-tmpfile.conf" - "packetbeat-tmpfile.conf" - "metricbeat-tmpfile.conf" - "heartbeat-tmpfile.conf" - "auditbeat-tmpfile.conf") -sha256sums=('c69f0047644be919e42a1d8fa3383c894ca8e054d5b6f727f161ed4ce497ca84' - '33feb3690f8b31563cc1e2da557c2aa326501ce9ccd7e0a142036902bfdb05ff' - '4d5394cfe3299c9a6af5ac34c1ad4bcdc2e79162379cccbf00fb414eb28253c0' - '9f4e33fc768d3500fa3428dcbfda241c6473a2cae8cc4dbadf8f61ca9f2bbec5' - '26b123acd96808162a7f827ce6f0e9669140c2665fc28d76583a15996fbf853d' - '212cb4ab5a02d7078025f7d1f50f48e5caa25debce0852cf68cd8f89ed0a8d09' - 'b7f1c61950f21c7fab31166c68d4a9e5027f0c5bcc40a97913d6d89eaf643b85' - 'ec999a29bc19d1b36b84e03cbd7b00b29d3e08c97ca03043b9fd6bfbe04c5e2d' - '3f3ead4168d5b4953cca883d8a3c4552c26a75f52cedfcf6c7785bfd7bbae3c4' - 'cb927141d3bed94cb5570789dd9fc97713e967580ee354ff393020811f087dca' - '9629931db8455891f0a6e9f9c91272716f2b47ec88f8a49e601423a16c7cdba5' - 'dcdf1be6acda30cc3e8949b5affbc1fe7b0a1efc2a08dfe2f878d6eb6de84d38') - -prepare() { - cd beats-$pkgver - - # Avoid installing extraneous configs - sed '/[- ]win/d ; /[- ]darwin/d ; /[- ]binary/d' -i */Makefile - # Install the Linux config as default - sed -r 's#/([a-z]+)-linux.yml#/\1.yml#' -i */Makefile - - # Perform some timestomping to avoid make warnings - LANG=C _t="$(date -r Makefile +'%Y-%m-%d %k:%M:%S')" - touch -m -d "$_t" */Makefile - - # Workaround to place extracted release into GOPATH - mkdir -p "$srcdir"/gopath/src/github.com/elastic - ln -sf "$srcdir"/beats-$pkgver \ - "$srcdir"/gopath/src/github.com/elastic/beats -} - -build() { - export GOPATH="$srcdir"/gopath - for beat in ${pkgname[@]}; do - beat="${beat%-elastic}" - msg2 "Building $beat..." - cd "$srcdir"/beats-$pkgver/$beat - make - done - - for beat in filebeat metricbeat auditbeat; do - cd "$srcdir"/beats-$pkgver/$beat - cp _meta/fields.common.yml _meta/fields.generated.yml - python ../metricbeat/scripts/fields_collector.py >> _meta/fields.generated.yml - make kibana - done - - for beat in heartbeat packetbeat; do - cd "$srcdir"/beats-$pkgver/$beat - make fields - done - - cd "$srcdir"/beats-$pkgver/filebeat - make modules - - mv "$srcdir"/beats-$pkgver/packetbeat/_meta/{fields,fields.generated}.yml -} - -_do_package_beat() { - _pkgname="${pkgname%-elastic}" - - backup=(etc/$_pkgname/$_pkgname.yml) - - install -dm755 "$pkgdir"/{etc,usr/share,var/lib}/$_pkgname - - cd beats-$pkgver/$_pkgname - make install-home HOME_PREFIX="$pkgdir"/usr/share/$_pkgname - - cp $_pkgname.{yml,reference.yml} "$pkgdir"/etc/$_pkgname - install -Dm644 _meta/fields.generated.yml "$pkgdir"/etc/$_pkgname/fields.yml - - install -Dm755 $_pkgname \ - "$pkgdir"/usr/bin/$_pkgname - install -Dm644 "$srcdir"/$_pkgname.service \ - "$pkgdir"/usr/lib/systemd/system/$_pkgname.service - install -Dm644 "$srcdir"/$_pkgname-tmpfile.conf \ - "$pkgdir"/usr/lib/tmpfiles.d/$_pkgname.conf -} - -package_filebeat() { - pkgdesc='Sends log files to Logstash or directly to Elasticsearch' - - _do_package_beat - - cd "$srcdir"/beats-$pkgver/$pkgname - cp -R modules.d "$pkgdir"/etc/$pkgname/ - install -Dm644 "$srcdir"/$pkgname.sysusers \ - "$pkgdir"/usr/lib/sysusers.d/$pkgname.conf -} - -package_packetbeat() { - pkgdesc='Analyzes network traffic and sends the data to Elasticsearch' - depends=('libpcap') - - _do_package_beat -} - -package_metricbeat() { - pkgdesc='Server monitoring agent that sends metrics to Elasticsearch' - conflicts=('topbeat') - replaces=('topbeat') - - _do_package_beat -} - -package_heartbeat-elastic() { - pkgdesc='Ping remote services for availability and log results to Elasticsearch or send to Logstash' - conflicts=('heartbeat') - replaces=('heartbeat') - - _do_package_beat -} - -package_auditbeat() { - pkgdesc='Audit the activities of users and processes on your system' - depends=('audit') - - _do_package_beat -} Copied: beats/repos/community-x86_64/PKGBUILD (from rev 288352, beats/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-01-31 08:35:47 UTC (rev 288353) @@ -0,0 +1,147 @@ +# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> +# Contributor: Tyler Langlois <ty |at| tjll |dot| net> + +pkgbase=beats +pkgname=(filebeat packetbeat metricbeat heartbeat-elastic auditbeat) +pkgver=6.1.3 +pkgrel=1 +pkgdesc='Data shippers for Elasticsearch' +arch=('x86_64') +url='https://www.elastic.co/products/beats' +license=('APACHE') +depends=('glibc') +makedepends=('go-pie' 'git' 'libpcap' 'rsync' 'python') +optdepends=('elasticsearch: for standalone installation' + 'python: for migration script') +options=('!strip') +source=("https://github.com/elastic/beats/archive/v$pkgver/beats-$pkgver.tar.gz" + "filebeat.sysusers" + "filebeat.service" + "packetbeat.service" + "metricbeat.service" + "heartbeat.service" + "auditbeat.service" + "filebeat-tmpfile.conf" + "packetbeat-tmpfile.conf" + "metricbeat-tmpfile.conf" + "heartbeat-tmpfile.conf" + "auditbeat-tmpfile.conf") +sha256sums=('5a21ce1eca7eab2b8214b54a7f4690cd557cd05073119f861025330e1b4006a3' + '33feb3690f8b31563cc1e2da557c2aa326501ce9ccd7e0a142036902bfdb05ff' + '4d5394cfe3299c9a6af5ac34c1ad4bcdc2e79162379cccbf00fb414eb28253c0' + '9f4e33fc768d3500fa3428dcbfda241c6473a2cae8cc4dbadf8f61ca9f2bbec5' + '26b123acd96808162a7f827ce6f0e9669140c2665fc28d76583a15996fbf853d' + '212cb4ab5a02d7078025f7d1f50f48e5caa25debce0852cf68cd8f89ed0a8d09' + 'b7f1c61950f21c7fab31166c68d4a9e5027f0c5bcc40a97913d6d89eaf643b85' + 'ec999a29bc19d1b36b84e03cbd7b00b29d3e08c97ca03043b9fd6bfbe04c5e2d' + '3f3ead4168d5b4953cca883d8a3c4552c26a75f52cedfcf6c7785bfd7bbae3c4' + 'cb927141d3bed94cb5570789dd9fc97713e967580ee354ff393020811f087dca' + '9629931db8455891f0a6e9f9c91272716f2b47ec88f8a49e601423a16c7cdba5' + 'dcdf1be6acda30cc3e8949b5affbc1fe7b0a1efc2a08dfe2f878d6eb6de84d38') + +prepare() { + cd beats-$pkgver + + # Avoid installing extraneous configs + sed '/[- ]win/d ; /[- ]darwin/d ; /[- ]binary/d' -i */Makefile + # Install the Linux config as default + sed -r 's#/([a-z]+)-linux.yml#/\1.yml#' -i */Makefile + + # Perform some timestomping to avoid make warnings + LANG=C _t="$(date -r Makefile +'%Y-%m-%d %k:%M:%S')" + touch -m -d "$_t" */Makefile + + # Workaround to place extracted release into GOPATH + mkdir -p "$srcdir"/gopath/src/github.com/elastic + ln -sf "$srcdir"/beats-$pkgver \ + "$srcdir"/gopath/src/github.com/elastic/beats +} + +build() { + export GOPATH="$srcdir"/gopath + for beat in ${pkgname[@]}; do + beat="${beat%-elastic}" + msg2 "Building $beat..." + cd "$srcdir"/beats-$pkgver/$beat + make + done + + for beat in filebeat metricbeat auditbeat; do + cd "$srcdir"/beats-$pkgver/$beat + cp _meta/fields.common.yml _meta/fields.generated.yml + python ../metricbeat/scripts/fields_collector.py >> _meta/fields.generated.yml + make kibana + done + + for beat in heartbeat packetbeat; do + cd "$srcdir"/beats-$pkgver/$beat + make fields + done + + cd "$srcdir"/beats-$pkgver/filebeat + make modules + + mv "$srcdir"/beats-$pkgver/packetbeat/_meta/{fields,fields.generated}.yml +} + +_do_package_beat() { + _pkgname="${pkgname%-elastic}" + + backup=(etc/$_pkgname/$_pkgname.yml) + + install -dm755 "$pkgdir"/{etc,usr/share,var/lib}/$_pkgname + + cd beats-$pkgver/$_pkgname + make install-home HOME_PREFIX="$pkgdir"/usr/share/$_pkgname + + cp $_pkgname.{yml,reference.yml} "$pkgdir"/etc/$_pkgname + install -Dm644 _meta/fields.generated.yml "$pkgdir"/etc/$_pkgname/fields.yml + + install -Dm755 $_pkgname \ + "$pkgdir"/usr/bin/$_pkgname + install -Dm644 "$srcdir"/$_pkgname.service \ + "$pkgdir"/usr/lib/systemd/system/$_pkgname.service + install -Dm644 "$srcdir"/$_pkgname-tmpfile.conf \ + "$pkgdir"/usr/lib/tmpfiles.d/$_pkgname.conf +} + +package_filebeat() { + pkgdesc='Sends log files to Logstash or directly to Elasticsearch' + + _do_package_beat + + cd "$srcdir"/beats-$pkgver/$pkgname + cp -R modules.d "$pkgdir"/etc/$pkgname/ + install -Dm644 "$srcdir"/$pkgname.sysusers \ + "$pkgdir"/usr/lib/sysusers.d/$pkgname.conf +} + +package_packetbeat() { + pkgdesc='Analyzes network traffic and sends the data to Elasticsearch' + depends=('libpcap') + + _do_package_beat +} + +package_metricbeat() { + pkgdesc='Server monitoring agent that sends metrics to Elasticsearch' + conflicts=('topbeat') + replaces=('topbeat') + + _do_package_beat +} + +package_heartbeat-elastic() { + pkgdesc='Ping remote services for availability and log results to Elasticsearch or send to Logstash' + conflicts=('heartbeat') + replaces=('heartbeat') + + _do_package_beat +} + +package_auditbeat() { + pkgdesc='Audit the activities of users and processes on your system' + depends=('audit') + + _do_package_beat +} Deleted: auditbeat-tmpfile.conf =================================================================== --- auditbeat-tmpfile.conf 2018-01-31 08:35:20 UTC (rev 288352) +++ auditbeat-tmpfile.conf 2018-01-31 08:35:47 UTC (rev 288353) @@ -1,2 +0,0 @@ -d /var/log/auditbeat 0755 root root - -d /var/lib/auditbeat 0755 root root - Copied: beats/repos/community-x86_64/auditbeat-tmpfile.conf (from rev 288352, beats/trunk/auditbeat-tmpfile.conf) =================================================================== --- auditbeat-tmpfile.conf (rev 0) +++ auditbeat-tmpfile.conf 2018-01-31 08:35:47 UTC (rev 288353) @@ -0,0 +1,2 @@ +d /var/log/auditbeat 0755 root root - +d /var/lib/auditbeat 0755 root root - Deleted: auditbeat.service =================================================================== --- auditbeat.service 2018-01-31 08:35:20 UTC (rev 288352) +++ auditbeat.service 2018-01-31 08:35:47 UTC (rev 288353) @@ -1,11 +0,0 @@ -[Unit] -Description=Audit agent and shipper for Elasticsearch -Documentation=https://www.elastic.co/guide/en/beats/auditbeat/current/index.html -After=network.target - -[Service] -ExecStart=/usr/bin/auditbeat -c /etc/auditbeat/auditbeat.yml -path.home /usr/share/auditbeat -path.config /etc/auditbeat -path.data /var/lib/auditbeat -path.logs /var/log/auditbeat -Restart=on-failure - -[Install] -WantedBy=multi-user.target Copied: beats/repos/community-x86_64/auditbeat.service (from rev 288352, beats/trunk/auditbeat.service) =================================================================== --- auditbeat.service (rev 0) +++ auditbeat.service 2018-01-31 08:35:47 UTC (rev 288353) @@ -0,0 +1,11 @@ +[Unit] +Description=Audit agent and shipper for Elasticsearch +Documentation=https://www.elastic.co/guide/en/beats/auditbeat/current/index.html +After=network.target + +[Service] +ExecStart=/usr/bin/auditbeat -c /etc/auditbeat/auditbeat.yml -path.home /usr/share/auditbeat -path.config /etc/auditbeat -path.data /var/lib/auditbeat -path.logs /var/log/auditbeat +Restart=on-failure + +[Install] +WantedBy=multi-user.target Deleted: filebeat-tmpfile.conf =================================================================== --- filebeat-tmpfile.conf 2018-01-31 08:35:20 UTC (rev 288352) +++ filebeat-tmpfile.conf 2018-01-31 08:35:47 UTC (rev 288353) @@ -1,2 +0,0 @@ -d /var/log/filebeat 0755 filebeat filebeat - -d /var/lib/filebeat 0755 filebeat filebeat - Copied: beats/repos/community-x86_64/filebeat-tmpfile.conf (from rev 288352, beats/trunk/filebeat-tmpfile.conf) =================================================================== --- filebeat-tmpfile.conf (rev 0) +++ filebeat-tmpfile.conf 2018-01-31 08:35:47 UTC (rev 288353) @@ -0,0 +1,2 @@ +d /var/log/filebeat 0755 filebeat filebeat - +d /var/lib/filebeat 0755 filebeat filebeat - Deleted: filebeat.service =================================================================== --- filebeat.service 2018-01-31 08:35:20 UTC (rev 288352) +++ filebeat.service 2018-01-31 08:35:47 UTC (rev 288353) @@ -1,12 +0,0 @@ -[Unit] -Description=Log file forwarder to remote sources -Documentation=https://www.elastic.co/guide/en/beats/filebeat/current/index.html -After=network.target - -[Service] -User=filebeat -ExecStart=/usr/bin/filebeat -c /etc/filebeat/filebeat.yml -path.home /usr/share/filebeat -path.config /etc/filebeat -path.data /var/lib/filebeat -path.logs /var/log/filebeat -Restart=on-failure - -[Install] -WantedBy=multi-user.target Copied: beats/repos/community-x86_64/filebeat.service (from rev 288352, beats/trunk/filebeat.service) =================================================================== --- filebeat.service (rev 0) +++ filebeat.service 2018-01-31 08:35:47 UTC (rev 288353) @@ -0,0 +1,12 @@ +[Unit] +Description=Log file forwarder to remote sources +Documentation=https://www.elastic.co/guide/en/beats/filebeat/current/index.html +After=network.target + +[Service] +User=filebeat +ExecStart=/usr/bin/filebeat -c /etc/filebeat/filebeat.yml -path.home /usr/share/filebeat -path.config /etc/filebeat -path.data /var/lib/filebeat -path.logs /var/log/filebeat +Restart=on-failure + +[Install] +WantedBy=multi-user.target Deleted: filebeat.sysusers =================================================================== --- filebeat.sysusers 2018-01-31 08:35:20 UTC (rev 288352) +++ filebeat.sysusers 2018-01-31 08:35:47 UTC (rev 288353) @@ -1 +0,0 @@ -u filebeat - "Lightweight Shipper for Log Data" /var/lib/filebeat Copied: beats/repos/community-x86_64/filebeat.sysusers (from rev 288352, beats/trunk/filebeat.sysusers) =================================================================== --- filebeat.sysusers (rev 0) +++ filebeat.sysusers 2018-01-31 08:35:47 UTC (rev 288353) @@ -0,0 +1 @@ +u filebeat - "Lightweight Shipper for Log Data" /var/lib/filebeat Deleted: heartbeat-tmpfile.conf =================================================================== --- heartbeat-tmpfile.conf 2018-01-31 08:35:20 UTC (rev 288352) +++ heartbeat-tmpfile.conf 2018-01-31 08:35:47 UTC (rev 288353) @@ -1,2 +0,0 @@ -d /var/log/heartbeat 0755 root root - -d /var/lib/heartbeat 0755 root root - Copied: beats/repos/community-x86_64/heartbeat-tmpfile.conf (from rev 288352, beats/trunk/heartbeat-tmpfile.conf) =================================================================== --- heartbeat-tmpfile.conf (rev 0) +++ heartbeat-tmpfile.conf 2018-01-31 08:35:47 UTC (rev 288353) @@ -0,0 +1,2 @@ +d /var/log/heartbeat 0755 root root - +d /var/lib/heartbeat 0755 root root - Deleted: heartbeat.service =================================================================== --- heartbeat.service 2018-01-31 08:35:20 UTC (rev 288352) +++ heartbeat.service 2018-01-31 08:35:47 UTC (rev 288353) @@ -1,11 +0,0 @@ -[Unit] -Description=Uptime monitoring agent that stores metrics in Elasticsearch -Documentation=https://www.elastic.co/guide/en/beats/heartbeat/current/index.html -After=network.target - -[Service] -ExecStart=/usr/bin/heartbeat -c /etc/heartbeat/heartbeat.yml -path.home /usr/share/heartbeat -path.config /etc/heartbeat -path.data /var/lib/heartbeat -path.logs /var/log/heartbeat -Restart=on-failure - -[Install] -WantedBy=multi-user.target Copied: beats/repos/community-x86_64/heartbeat.service (from rev 288352, beats/trunk/heartbeat.service) =================================================================== --- heartbeat.service (rev 0) +++ heartbeat.service 2018-01-31 08:35:47 UTC (rev 288353) @@ -0,0 +1,11 @@ +[Unit] +Description=Uptime monitoring agent that stores metrics in Elasticsearch +Documentation=https://www.elastic.co/guide/en/beats/heartbeat/current/index.html +After=network.target + +[Service] +ExecStart=/usr/bin/heartbeat -c /etc/heartbeat/heartbeat.yml -path.home /usr/share/heartbeat -path.config /etc/heartbeat -path.data /var/lib/heartbeat -path.logs /var/log/heartbeat +Restart=on-failure + +[Install] +WantedBy=multi-user.target Deleted: metricbeat-tmpfile.conf =================================================================== --- metricbeat-tmpfile.conf 2018-01-31 08:35:20 UTC (rev 288352) +++ metricbeat-tmpfile.conf 2018-01-31 08:35:47 UTC (rev 288353) @@ -1,2 +0,0 @@ -d /var/log/metricbeat 0755 root root - -d /var/lib/metricbeat 0755 root root - Copied: beats/repos/community-x86_64/metricbeat-tmpfile.conf (from rev 288352, beats/trunk/metricbeat-tmpfile.conf) =================================================================== --- metricbeat-tmpfile.conf (rev 0) +++ metricbeat-tmpfile.conf 2018-01-31 08:35:47 UTC (rev 288353) @@ -0,0 +1,2 @@ +d /var/log/metricbeat 0755 root root - +d /var/lib/metricbeat 0755 root root - Deleted: metricbeat.service =================================================================== --- metricbeat.service 2018-01-31 08:35:20 UTC (rev 288352) +++ metricbeat.service 2018-01-31 08:35:47 UTC (rev 288353) @@ -1,11 +0,0 @@ -[Unit] -Description=Server monitoring agent that stores metrics in Elasticsearch -Documentation=https://www.elastic.co/guide/en/beats/metricbeat/current/index.html -After=network.target - -[Service] -ExecStart=/usr/bin/metricbeat -c /etc/metricbeat/metricbeat.yml -path.home /usr/share/metricbeat -path.config /etc/metricbeat -path.data /var/lib/metricbeat -path.logs /var/log/metricbeat -Restart=on-failure - -[Install] -WantedBy=multi-user.target Copied: beats/repos/community-x86_64/metricbeat.service (from rev 288352, beats/trunk/metricbeat.service) =================================================================== --- metricbeat.service (rev 0) +++ metricbeat.service 2018-01-31 08:35:47 UTC (rev 288353) @@ -0,0 +1,11 @@ +[Unit] +Description=Server monitoring agent that stores metrics in Elasticsearch +Documentation=https://www.elastic.co/guide/en/beats/metricbeat/current/index.html +After=network.target + +[Service] +ExecStart=/usr/bin/metricbeat -c /etc/metricbeat/metricbeat.yml -path.home /usr/share/metricbeat -path.config /etc/metricbeat -path.data /var/lib/metricbeat -path.logs /var/log/metricbeat +Restart=on-failure + +[Install] +WantedBy=multi-user.target Deleted: packetbeat-tmpfile.conf =================================================================== --- packetbeat-tmpfile.conf 2018-01-31 08:35:20 UTC (rev 288352) +++ packetbeat-tmpfile.conf 2018-01-31 08:35:47 UTC (rev 288353) @@ -1,2 +0,0 @@ -d /var/log/packetbeat 0755 root root - -d /var/lib/packetbeat 0755 root root - Copied: beats/repos/community-x86_64/packetbeat-tmpfile.conf (from rev 288352, beats/trunk/packetbeat-tmpfile.conf) =================================================================== --- packetbeat-tmpfile.conf (rev 0) +++ packetbeat-tmpfile.conf 2018-01-31 08:35:47 UTC (rev 288353) @@ -0,0 +1,2 @@ +d /var/log/packetbeat 0755 root root - +d /var/lib/packetbeat 0755 root root - Deleted: packetbeat.service =================================================================== --- packetbeat.service 2018-01-31 08:35:20 UTC (rev 288352) +++ packetbeat.service 2018-01-31 08:35:47 UTC (rev 288353) @@ -1,11 +0,0 @@ -[Unit] -Description=Real-Time Packet Analyzer -Documentation=https://www.elastic.co/guide/en/beats/packetbeat/current/index.html -After=network.target - -[Service] -ExecStart=/usr/bin/packetbeat -c /etc/packetbeat/packetbeat.yml -path.home /usr/share/packetbeat -path.config /etc/packetbeat -path.data /var/lib/packetbeat -path.logs /var/log/packetbeat -Restart=on-failure - -[Install] -WantedBy=multi-user.target Copied: beats/repos/community-x86_64/packetbeat.service (from rev 288352, beats/trunk/packetbeat.service) =================================================================== --- packetbeat.service (rev 0) +++ packetbeat.service 2018-01-31 08:35:47 UTC (rev 288353) @@ -0,0 +1,11 @@ +[Unit] +Description=Real-Time Packet Analyzer +Documentation=https://www.elastic.co/guide/en/beats/packetbeat/current/index.html +After=network.target + +[Service] +ExecStart=/usr/bin/packetbeat -c /etc/packetbeat/packetbeat.yml -path.home /usr/share/packetbeat -path.config /etc/packetbeat -path.data /var/lib/packetbeat -path.logs /var/log/packetbeat +Restart=on-failure + +[Install] +WantedBy=multi-user.target