Install systemd service file if systemd is available

This commit is contained in:
Miklos Vajna
2011-03-29 09:27:54 +02:00
committed by Martin Willi
parent 7aa2d1ca49
commit fc16b361ef
5 changed files with 34 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
EXTRA_DIST = strongswan.service.in
CLEANFILES = strongswan.service
systemdsystemunit_DATA = strongswan.service
strongswan.service : strongswan.service.in
sed -e "s:@SBINDIR@:$(sbindir):" $(srcdir)/$@.in > $@