From 41c9ac83d3d696816cbb9f3fb2a2824474237f2d Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sat, 26 Jul 2025 22:51:43 -0700 Subject: [PATCH] fix(ghostty-nightly): Service is back AGAIN (#5939) (#5942) * fix(ghostty-nightly): Service is back AGAIN.. * fix: The service has a slightly different name now --------- (cherry picked from commit 0350879ec40c5c19d894559ace90c59471fb5925) Signed-off-by: Gilver Co-authored-by: Gilver --- anda/devs/ghostty/nightly/ghostty-nightly.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/anda/devs/ghostty/nightly/ghostty-nightly.spec b/anda/devs/ghostty/nightly/ghostty-nightly.spec index e9567784ac..a63ff49f8e 100644 --- a/anda/devs/ghostty/nightly/ghostty-nightly.spec +++ b/anda/devs/ghostty/nightly/ghostty-nightly.spec @@ -219,6 +219,7 @@ rm -rf %{buildroot}%{_datadir}/terminfo/g/%{base_name} %{_iconsdir}/hicolor/1024x1024/apps/%{appid}.png %{_mandir}/man1/%{base_name}.1.gz %{_mandir}/man5/%{base_name}.5.gz +%{_userunitdir}/app-%{appid}.service %files bash-completion %{bash_completions_dir}/%{base_name}.bash @@ -265,6 +266,15 @@ rm -rf %{buildroot}%{_datadir}/terminfo/g/%{base_name} %endif %{_datadir}/terminfo/x/xterm-%{base_name} +%post +%systemd_user_post app-%{appid}.service + +%preun +%systemd_user_preun app-%{appid}.service + +%postun +%systemd_user_postun app-%{appid}.service + %changelog * Sat May 31 2025 Gilver E. - 1.1.4~tip^20250531git1ff9162 - Updated for Zig 0.14.0