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
+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=strongSwan IPsec
After=syslog.target
[Service]
ExecStart=@SBINDIR@/ipsec start --nofork
StandardOutput=syslog
[Install]
WantedBy=multi-user.target