From fb37d4da25a114b26f8be81df546742f7bcb6d09 Mon Sep 17 00:00:00 2001 From: Josef Stribny Date: Oct 03 2014 08:42:50 +0000 Subject: Add install section to unit file --- 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 - 2.2.1-5 +- Add install section to unit file + * Tue Aug 26 2014 Josef Stribny - 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