From e8331551152adecf989c636e88ff4f7fbb78b876 Mon Sep 17 00:00:00 2001 From: "J. King" Date: Fri, 16 Jul 2021 20:29:57 -0400 Subject: [PATCH] Add systemd unit to spec file --- dist/rpm/arsse.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dist/rpm/arsse.spec b/dist/rpm/arsse.spec index af52ae4c..db00401d 100644 --- a/dist/rpm/arsse.spec +++ b/dist/rpm/arsse.spec @@ -129,6 +129,7 @@ generally preferred as it receives more testing. mkdir -p "%{buildroot}%{_datadir}/php/arsse" "%{buildroot}%{_mandir}" cp -r lib locale sql vendor www CHANGELOG UPGRADING README.md arsse.php "%{buildroot}%{_datadir}/php/arsse" cp -r dist/man/* "%{buildroot}%{_mandir}" +cp dist/systemd/arsse-fetch.service "%{buildroot}%{_unitdir}/arsse.service" install -Dm755 dist/arsse "%{buildroot}%{_bindir}/arsse" %files @@ -137,3 +138,4 @@ install -Dm755 dist/arsse "%{buildroot}%{_bindir}/arsse" %{_datadir}/php/arsse %{_mandir}/man*/arsse.* %{_bindir}/arsse +%{_unitdir}/arsse.service