From 1fd74e60bca5ef22cdbbfb004232c045c46e90ea Mon Sep 17 00:00:00 2001 From: p2p Date: Fri, 30 Apr 2010 11:16:26 +0000 Subject: [PATCH] autorun: (server) add start-server script --- autorun/server/start-server | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 autorun/server/start-server diff --git a/autorun/server/start-server b/autorun/server/start-server new file mode 100755 index 0000000..4267b77 --- /dev/null +++ b/autorun/server/start-server @@ -0,0 +1,9 @@ +#!/bin/bash + +if test $# -ne 1; then + echo "Usage: $0 local_address" 1>&2 + exit 1 +fi + +ip_address=$1 +PYTHONPATH=/home/p2p/cs-p2p-next/ppf/log-parser/generic python /home/p2p/cs-p2p-next/autorun/server/Server.py no $ip_address -- 2.20.1