summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/freenet/files/start-freenet.sh')
-rw-r--r--net-p2p/freenet/files/start-freenet.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/net-p2p/freenet/files/start-freenet.sh b/net-p2p/freenet/files/start-freenet.sh
new file mode 100644
index 000000000000..47960415b723
--- /dev/null
+++ b/net-p2p/freenet/files/start-freenet.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# This script is a companion script to the Gentoo freenet init script.
+# Logs freenet's stdout and stderr for debugging needs.
+#
+# Author: Brandon Low <lostlogic@gentoo.org>
+#
+${JAVA} ${JAVA_ARGS} freenet.node.Main -p /etc/freenet.conf \
+ > /var/freenet/freenet.stdout.log 2> /var/freenet/freenet.stderr.log &
+echo $!