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:
@@ -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 > $@
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user