Added an option to rename the ipsec script during installation

Also rename the man page and adjust all references in the script, the
man page and other files.

Closes #194.
This commit is contained in:
Tobias Brunner
2012-06-25 16:53:38 +02:00
parent d86cf32b4b
commit bc6d944705
7 changed files with 64 additions and 40 deletions
+4 -1
View File
@@ -5,4 +5,7 @@ CLEANFILES = strongswan.service
systemdsystemunit_DATA = strongswan.service
strongswan.service : strongswan.service.in
sed -e "s:@SBINDIR@:$(sbindir):" $(srcdir)/$@.in > $@
sed \
-e "s:@SBINDIR@:$(sbindir):" \
-e "s:@IPSEC_SCRIPT@:$(ipsec_script):" \
$(srcdir)/$@.in > $@
+1 -1
View File
@@ -3,7 +3,7 @@ Description=strongSwan IPsec
After=syslog.target
[Service]
ExecStart=@SBINDIR@/ipsec start --nofork
ExecStart=@SBINDIR@/@IPSEC_SCRIPT@ start --nofork
StandardOutput=syslog
[Install]