public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd-utils/, sys-apps/systemd-utils/files/
Date: Mon, 21 Nov 2022 16:14:08 +0000 (UTC)	[thread overview]
Message-ID: <1669047244.03a3fe32d269fd724751f48c80b8364b98883aa7.floppym@gentoo> (raw)

commit:     03a3fe32d269fd724751f48c80b8364b98883aa7
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 10 15:32:58 2022 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Nov 21 16:14:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03a3fe32

sys-apps/systemd-utils: add cron.daily script for systemd-tmpfiles --clean

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 sys-apps/systemd-utils/files/systemd-tmpfiles-clean                     | 2 ++
 .../{systemd-utils-251.8.ebuild => systemd-utils-251.8-r1.ebuild}       | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/sys-apps/systemd-utils/files/systemd-tmpfiles-clean b/sys-apps/systemd-utils/files/systemd-tmpfiles-clean
new file mode 100644
index 000000000000..e474f0e61601
--- /dev/null
+++ b/sys-apps/systemd-utils/files/systemd-tmpfiles-clean
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec ionice -c idle -t systemd-tmpfiles --clean

diff --git a/sys-apps/systemd-utils/systemd-utils-251.8.ebuild b/sys-apps/systemd-utils/systemd-utils-251.8-r1.ebuild
similarity index 99%
rename from sys-apps/systemd-utils/systemd-utils-251.8.ebuild
rename to sys-apps/systemd-utils/systemd-utils-251.8-r1.ebuild
index 46f587532a13..e3565a14d72b 100644
--- a/sys-apps/systemd-utils/systemd-utils-251.8.ebuild
+++ b/sys-apps/systemd-utils/systemd-utils-251.8-r1.ebuild
@@ -468,6 +468,8 @@ multilib_src_install_all() {
 	if use tmpfiles; then
 		doinitd "${FILESDIR}"/systemd-tmpfiles-setup
 		doinitd "${FILESDIR}"/systemd-tmpfiles-setup-dev
+		exeinto /etc/cron.daily
+		doexe "${FILESDIR}"/systemd-tmpfiles-clean
 		insinto /usr/share/zsh/site-functions
 		doins shell-completion/zsh/_systemd-tmpfiles
 	fi


             reply	other threads:[~2022-11-21 16:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-21 16:14 Mike Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-07 18:06 [gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd-utils/, sys-apps/systemd-utils/files/ Mike Gilbert
2023-05-10  0:54 Sam James
2023-01-28  2:47 Mike Gilbert
2023-01-13 20:06 Mike Gilbert
2023-01-11  7:50 Sam James
2022-11-06  3:22 Mike Gilbert
2022-09-18 15:52 Mike Gilbert
2022-08-02 23:40 Sam James

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=1669047244.03a3fe32d269fd724751f48c80b8364b98883aa7.floppym@gentoo \
    --to=floppym@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