diff options
author | William Breathitt Gray <vilhelm.gray@gmail.com> | 2020-05-25 15:26:05 -0400 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-06-24 17:29:18 +0300 |
commit | 1ffce436ef2bfa2d7eba140f72b4d9e0c70a8e75 (patch) | |
tree | 5ce22a3a5c2c8e99e0065219ccb437e36f2160a1 /games-action | |
parent | sci-mathematics/mathematica: Import from dilfridge overlay (diff) | |
download | gentoo-1ffce436ef2bfa2d7eba140f72b4d9e0c70a8e75.tar.gz gentoo-1ffce436ef2bfa2d7eba140f72b4d9e0c70a8e75.tar.bz2 gentoo-1ffce436ef2bfa2d7eba140f72b4d9e0c70a8e75.zip |
games-action/minetest: Add logrotate configuration file
Closes: https://bugs.gentoo.org/725122
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15969
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/minetest/files/minetestserver.logrotate | 5 | ||||
-rw-r--r-- | games-action/minetest/minetest-5.2.0.ebuild | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/games-action/minetest/files/minetestserver.logrotate b/games-action/minetest/files/minetestserver.logrotate new file mode 100644 index 000000000000..879170349454 --- /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 73950475263b..9f99e55d2d4d 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 } |