summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rwxr-xr-xbin/git-tftpd3
-rw-r--r--var/.keep0
3 files changed, 4 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 93a3244..27d6cb6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
repo/
*.pyc
dropin.cache
+var/*.log
+var/*.pid
diff --git a/bin/git-tftpd b/bin/git-tftpd
index b78b6e9..038932b 100755
--- a/bin/git-tftpd
+++ b/bin/git-tftpd
@@ -14,4 +14,5 @@ else
args=()
fi
-PYTHONPATH="$dir/../src/" twistd "${args[@]}" git-tftpd "$@"
+PYTHONPATH="$dir/../src/" twistd --logfile="$dir/../var/git-tftpd.log" \
+ --pidfile="$dir/../var/git-tftpd.pid" "${args[@]}" git-tftpd "$@"
diff --git a/var/.keep b/var/.keep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/var/.keep