Fix program name in systemd unit file

This commit is contained in:
Pavel Šimerda
2012-02-15 01:19:08 +01:00
parent 60021c6681
commit 023cc8acb3
2 changed files with 5 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ Index: strongswan-4.6.0/init/systemd/strongswan.service.in
[Service]
-ExecStart=@SBINDIR@/ipsec start --nofork
+ExecStart=@SBINDIR@/@PROGRAM@ start --nofork
+ExecStart=@SBINDIR@/strongswan start --nofork
StandardOutput=syslog
[Install]

View File

@@ -1,6 +1,6 @@
Name: strongswan
Version: 4.6.1
Release: 5%{?dist}
Release: 6%{?dist}
Summary: An OpenSource IPsec-based VPN Solution
Group: System Environment/Daemons
License: GPLv2+
@@ -162,6 +162,9 @@ fi
#TODO manpages
%changelog
* Wed Feb 15 2012 Pavel Šimerda <pavlix@pavlix.net> - 4.6.1-6
- Fix program name in systemd unit file
* Tue Feb 14 2012 Pavel Šimerda <pavlix@pavlix.net> - 4.6.1-5
- Improve fedora/epel conditionals