mirror of
https://github.com/elastic/logstash.git
synced 2025-04-25 07:07:54 -04:00
[packaging] install only one copy of logrotate.conf
This commit is contained in:
parent
8b5b908ec2
commit
cace46ec2d
1 changed files with 3 additions and 3 deletions
|
@ -59,7 +59,7 @@ case $os@$release in
|
|||
mkdir -p $destdir/var/run/logstash
|
||||
mkdir -p $destdir/var/log/logstash
|
||||
cp $os/sysconfig $destdir/etc/sysconfig/logstash
|
||||
install -m644 logrotate.conf $destdir/etc/logrotate.d/
|
||||
install -m644 logrotate.conf $destdir/etc/logrotate.d/logstash
|
||||
install -m755 logstash.sysv.redhat $destdir/etc/init.d/logstash
|
||||
;;
|
||||
ubuntu@*)
|
||||
|
@ -108,7 +108,7 @@ case $os in
|
|||
--before-remove centos/before-remove.sh \
|
||||
--after-install centos/after-install.sh \
|
||||
--config-files /etc/sysconfig/logstash \
|
||||
--config-files /etc/logrotate.d/logrotate.conf \
|
||||
--config-files /etc/logrotate.d/logstash \
|
||||
-f -C $destdir .
|
||||
;;
|
||||
ubuntu|debian)
|
||||
|
@ -130,7 +130,7 @@ case $os in
|
|||
--after-install $os/after-install.sh \
|
||||
--config-files /etc/default/logstash \
|
||||
--config-files /etc/default/logstash-web \
|
||||
--config-files /etc/logrotate.d/logrotate.conf \
|
||||
--config-files /etc/logrotate.d/logstash \
|
||||
-f -C $destdir .
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue