summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-04-03 00:12:17 -0400
committerMike Gilbert <floppym@gentoo.org>2020-04-03 00:12:17 -0400
commit0b4cb431553e9368a1459b928490b589bf203e80 (patch)
treea349e1a1a5238dc4840623550ac112c19cf13142 /net-vpn/ocserv/files
parentnet-vpn/openconnect: fix tests to work with ocserv installed (diff)
downloadgentoo-0b4cb431553e9368a1459b928490b589bf203e80.tar.gz
gentoo-0b4cb431553e9368a1459b928490b589bf203e80.tar.bz2
gentoo-0b4cb431553e9368a1459b928490b589bf203e80.zip
net-vpn/ocserv: new package
Package-Manager: Portage-2.3.96_p4, Repoman-2.3.22_p1 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-vpn/ocserv/files')
-rw-r--r--net-vpn/ocserv/files/ocserv6
1 files changed, 6 insertions, 0 deletions
diff --git a/net-vpn/ocserv/files/ocserv b/net-vpn/ocserv/files/ocserv
new file mode 100644
index 00000000000..12fd1d0e20c
--- /dev/null
+++ b/net-vpn/ocserv/files/ocserv
@@ -0,0 +1,6 @@
+#!/sbin/openrc-run
+
+command="${RC_PREFIX}/usr/sbin/ocserv"
+pidfile="${RC_PREFIX}/run/${RC_SVCNAME}.pid"
+command_args="--pid-file '${pidfile}'"
+command_args_foreground="--foreground"