[Pkg-ganeti-devel] [SCM] Ganeti packaging branch, master, updated. debian/2.7.0-1-54-g1fd06ae
Apollon Oikonomopoulos
apoikos at gmail.com
Sun Jul 28 13:35:29 UTC 2013
The following commit has been merged in the master branch:
commit 84ee3c0d7877086e0d5cdd9140bf9e95f7345420
Author: Apollon Oikonomopoulos <apoikos at gmail.com>
Date: Sun Jul 28 05:44:33 2013 +0300
Install upstream's logrotate sample
diff --git a/debian/ganeti.logrotate b/debian/ganeti.logrotate
deleted file mode 100644
index d243907..0000000
--- a/debian/ganeti.logrotate
+++ /dev/null
@@ -1,13 +0,0 @@
-/var/log/ganeti/*.log {
- weekly
- missingok
- rotate 52
- notifempty
- compress
- delaycompress
- create 640 root root
- sharedscripts
- postrotate
- /usr/lib/ganeti/daemon-util rotate-all-logs
- endscript
-}
diff --git a/debian/rules b/debian/rules
index 827768b..8a7370a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,6 +28,7 @@ override_dh_auto_clean:
rm -f debian/ganeti.init
rm -f debian/ganeti.cron.d
rm -f debian/ganeti.default
+ rm -f debian/ganeti.logrotate
dh_auto_clean
@@ -36,6 +37,7 @@ override_dh_auto_install:
cp $(CURDIR)/doc/examples/ganeti.initd $(CURDIR)/debian/ganeti.init
cp $(CURDIR)/doc/examples/ganeti.cron $(CURDIR)/debian/ganeti.cron.d
cp $(CURDIR)/doc/examples/ganeti.default $(CURDIR)/debian/ganeti.default
+ cp $(CURDIR)/doc/examples/ganeti.logrotate $(CURDIR)/debian/ganeti.logrotate
install -m 0644 $(CURDIR)/doc/examples/bash_completion \
$(CURDIR)/debian/ganeti/etc/bash_completion.d/ganeti
--
Ganeti packaging
More information about the Pkg-ganeti-devel
mailing list