From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/minetest/files/, games-action/minetest/
Date: Wed, 24 Jun 2020 14:29:54 +0000 (UTC) [thread overview]
Message-ID: <1593008958.1ffce436ef2bfa2d7eba140f72b4d9e0c70a8e75.juippis@gentoo> (raw)
commit: 1ffce436ef2bfa2d7eba140f72b4d9e0c70a8e75
Author: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
AuthorDate: Mon May 25 19:26:05 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jun 24 14:29:18 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ffce436
games-action/minetest: Add logrotate configuration file
Closes: https://bugs.gentoo.org/725122
Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15969
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
games-action/minetest/files/minetestserver.logrotate | 5 +++++
games-action/minetest/minetest-5.2.0.ebuild | 3 +++
2 files changed, 8 insertions(+)
diff --git a/games-action/minetest/files/minetestserver.logrotate b/games-action/minetest/files/minetestserver.logrotate
new file mode 100644
index 00000000000..87917034945
--- /dev/null
+++ b/games-action/minetest/files/minetestserver.logrotate
@@ -0,0 +1,5 @@
+/var/log/minetest/minetest-server.log {
+ rotate 5
+ weekly
+ copytruncate
+}
diff --git a/games-action/minetest/minetest-5.2.0.ebuild b/games-action/minetest/minetest-5.2.0.ebuild
index 73950475263..9f99e55d2d4 100644
--- a/games-action/minetest/minetest-5.2.0.ebuild
+++ b/games-action/minetest/minetest-5.2.0.ebuild
@@ -114,6 +114,9 @@ src_install() {
newconfd "${T}"/minetestserver.confd minetest-server
newinitd "${FILESDIR}"/minetestserver.initd minetest-server
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/minetestserver.logrotate minetest-server
fi
}
next reply other threads:[~2020-06-24 14:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-24 14:29 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-04-10 10:27 [gentoo-commits] repo/gentoo:master commit in: games-action/minetest/files/, games-action/minetest/ Marek Szuba
2022-09-07 9:08 Marek Szuba
2021-05-13 15:33 Marek Szuba
2021-05-12 12:40 Marek Szuba
2020-02-22 22:10 James Le Cuirot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1593008958.1ffce436ef2bfa2d7eba140f72b4d9e0c70a8e75.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox