summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/netvfy/files/netvfy-agent.rc')
-rw-r--r--net-misc/netvfy/files/netvfy-agent.rc14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-misc/netvfy/files/netvfy-agent.rc b/net-misc/netvfy/files/netvfy-agent.rc
new file mode 100644
index 0000000..75bca14
--- /dev/null
+++ b/net-misc/netvfy/files/netvfy-agent.rc
@@ -0,0 +1,14 @@
+#!/sbin/openrc-run
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+description="start a daemon to maintain a virtual connection using netvfy"
+
+command="netvfy-agent -c ${NETWORK_NAME}"
+command_background="true"
+pidfile="/var/run/${SVCNAME}.pid"
+
+depend() {
+ use net
+}