commit:     3cc6dd62076cb5623b30c545e69bcd6ca52aa316
Author:     Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Sun Feb 15 13:11:37 2026 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Feb 16 09:00:52 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cc6dd62

app-shells/atuin: Prepare phase-out of old atuin.service file

Starting from atuin-18.12.0, a new files/atuin.service file is needed.
It's better to rename the old one so _old can be removed after a few
releases, while atuin.service remains the active file.

Signed-off-by: Jonas Frei <freijon <AT> pm.me>
Part-of: https://github.com/gentoo/gentoo/pull/45818
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-shells/atuin/atuin-18.10.0.ebuild                       | 2 +-
 app-shells/atuin/atuin-18.11.0.ebuild                       | 2 +-
 app-shells/atuin/atuin-18.8.0.ebuild                        | 4 ++--
 app-shells/atuin/files/{atuin.service => atuin_old.service} | 0
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-shells/atuin/atuin-18.10.0.ebuild 
b/app-shells/atuin/atuin-18.10.0.ebuild
index 59f05d10cc55..5f75ad0e78fb 100644
--- a/app-shells/atuin/atuin-18.10.0.ebuild
+++ b/app-shells/atuin/atuin-18.10.0.ebuild
@@ -114,7 +114,7 @@ src_install() {
        dobin "${ATUIN_BIN}"
 
        if use server; then
-               systemd_dounit "${FILESDIR}/atuin.service"
+               systemd_newunit "${FILESDIR}/atuin_old.service" "atuin.service"
        fi
 
        dodoc -r "${DOCS[@]}"

diff --git a/app-shells/atuin/atuin-18.11.0.ebuild 
b/app-shells/atuin/atuin-18.11.0.ebuild
index 59836c22adec..bf67231a7d6e 100644
--- a/app-shells/atuin/atuin-18.11.0.ebuild
+++ b/app-shells/atuin/atuin-18.11.0.ebuild
@@ -117,7 +117,7 @@ src_install() {
        dobin "${ATUIN_BIN}"
 
        if use server; then
-               systemd_dounit "${FILESDIR}/atuin.service"
+               systemd_newunit "${FILESDIR}/atuin_old.service" "atuin.service"
        fi
 
        dodoc -r "${DOCS[@]}"

diff --git a/app-shells/atuin/atuin-18.8.0.ebuild 
b/app-shells/atuin/atuin-18.8.0.ebuild
index 383fc434e138..a05751568db6 100644
--- a/app-shells/atuin/atuin-18.8.0.ebuild
+++ b/app-shells/atuin/atuin-18.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023-2025 Gentoo Authors
+# Copyright 2023-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -114,7 +114,7 @@ src_install() {
        dobin "${ATUIN_BIN}"
 
        if use server; then
-               systemd_dounit "${FILESDIR}/atuin.service"
+               systemd_newunit "${FILESDIR}/atuin_old.service" "atuin.service"
        fi
 
        dodoc -r "${DOCS[@]}"

diff --git a/app-shells/atuin/files/atuin.service 
b/app-shells/atuin/files/atuin_old.service
similarity index 100%
rename from app-shells/atuin/files/atuin.service
rename to app-shells/atuin/files/atuin_old.service

Reply via email to