This repository has been archived by the owner on Sep 23, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
BuzzTroll
committed
Sep 13, 2010
1 parent
f026be0
commit 53a2d6e
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# default: off | ||
# description: An RFC 868 time server. This protocol provides a | ||
# site-independent, machine readable date and time. The Time service sends back | ||
# to the originating source the time in seconds since midnight on January first | ||
# 1900. | ||
# This is the tcp version. | ||
service virga | ||
{ | ||
disable = no | ||
socket_type = stream | ||
protocol = tcp | ||
user = bresnaha | ||
wait = no | ||
server = @VIRGA_HOME@/bin/virga.sh | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
dir=`dirname $0` | ||
cd $dir/.. | ||
pypath=`pwd` | ||
if [ "X${PYTHONPATH}" == "X" ]; then | ||
export PYTHONPATH=$pypath | ||
else | ||
export PYTHONPATH=$pypath:${PYTHONPATH} | ||
fi | ||
# so that we pick up the ini file | ||
export VIRGA_HOME=$pypath | ||
|
||
exec python ./pyvirga/request.py "${@}" |