[obs-signd/f21] Add install section to unit file
Josef Stribny
jstribny at fedoraproject.org
Fri Oct 3 09:31:36 UTC 2014
commit 7489bc678eee44db0ac5b6721754337be09eca7d
Author: Josef Stribny <jstribny at redhat.com>
Date: Fri Oct 3 10:42:50 2014 +0200
Add install section to unit file
obs-signd.spec | 5 ++++-
signd.service | 3 +++
2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/obs-signd.spec b/obs-signd.spec
index a1712a1..3d1ffef 100644
--- a/obs-signd.spec
+++ b/obs-signd.spec
@@ -7,7 +7,7 @@ License: GPLv2
Group: Applications/System
Url: https://github.com/openSUSE/obs-sign
Version: 2.2.1
-Release: 4%{?dist}
+Release: 5%{?dist}
# Taken from upstream git
# git clone https://github.com/openSUSE/obs-sign && cd obs-sign
# git checkout 2.2.1
@@ -84,6 +84,9 @@ exit 0
%doc %{_mandir}/man*/*
%changelog
+* Fri Oct 03 2014 Josef Stribny <jstribny at redhat.com> - 2.2.1-5
+- Add install section to unit file
+
* Tue Aug 26 2014 Josef Stribny <jstribny at redhat.com> - 2.2.1-4
- Enable Position-independent code (PIC)
diff --git a/signd.service b/signd.service
index cab5bef..86258b3 100644
--- a/signd.service
+++ b/signd.service
@@ -7,3 +7,6 @@ Type=forking
PIDFile=/var/run/signd.pid
ExecStart=/usr/sbin/signd -f
Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target
More information about the scm-commits
mailing list