diff options
author | Johannes Matheis <jomat+alpinebuild@jmt.gr> | 2015-02-08 13:25:10 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2015-02-09 08:50:18 +0200 |
commit | 93bf317ffed831452c69550b0179e2ded06aac7b (patch) | |
tree | ef91836c54fd3cfdd0a2adf4fe28791131fe9cb8 /testing/fastd/fastd.initd | |
parent | 706bcdda878579d42b4ec845892e2c2ee589611b (diff) | |
download | aports-93bf317ffed831452c69550b0179e2ded06aac7b.tar.bz2 aports-93bf317ffed831452c69550b0179e2ded06aac7b.tar.xz |
testing/fastd: new aport
Fast and Secure Tunneling Daemon
https://projects.universe-factory.net/projects/fastd
[tteras: fixed dependencies]
Diffstat (limited to 'testing/fastd/fastd.initd')
-rwxr-xr-x | testing/fastd/fastd.initd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/fastd/fastd.initd b/testing/fastd/fastd.initd new file mode 100755 index 0000000000..a97854697a --- /dev/null +++ b/testing/fastd/fastd.initd @@ -0,0 +1,19 @@ +#!/sbin/runscript + +VPN=${SVCNAME#*.} +if [ ${SVCNAME} != "fastd" ]; then + pidfile="/var/run/fastd.${VPN}.pid" +else + pidfile="/var/run/fastd.pid" +fi + +command=/usr/bin/fastd +command_args="--daemon --pid-file ${pidfile} --config /etc/fastd/${VPN}.conf" +if [ ${SVCNAME} == "fastd" ]; then + name="fastd" +else + name="fastd ${VPN}" +fi +description="fastd VPN daemon" + + |