diff options
author | Moritz Maxeiner | 2015-06-12 11:14:42 +0200 |
---|---|---|
committer | Moritz Maxeiner | 2015-06-12 11:14:42 +0200 |
commit | 0dc31e123ff8c441feba1894cc6e57f67907c653 (patch) | |
tree | e91e0783d0154bc2ced40a21f07060bcef940116 /seafile-admin_virtualenv.patch | |
download | aur-0dc31e123ff8c441feba1894cc6e57f67907c653.tar.gz |
Initial import: 4.2.2
Diffstat (limited to 'seafile-admin_virtualenv.patch')
-rw-r--r-- | seafile-admin_virtualenv.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/seafile-admin_virtualenv.patch b/seafile-admin_virtualenv.patch new file mode 100644 index 000000000000..a3e220103f9b --- /dev/null +++ b/seafile-admin_virtualenv.patch @@ -0,0 +1,20 @@ +diff --git a/tools/seafile-admin b/tools/seafile-admin +index 102cf9f..ce77c35 100755 +--- a/tools/seafile-admin ++++ b/tools/seafile-admin +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/lib/seafile/seafileenv/bin/python2 + # coding: UTF-8 + + '''This is the helper script to setup/manage your seafile server +@@ -604,7 +604,8 @@ def start_controller(): + + def start_seahub_gunicorn(): + argv = [ +- 'gunicorn_django', ++ PYTHON, ++ '/usr/lib/seafile/seafileenv/bin/gunicorn_django', + '-c', conf[CONF_SEAHUB_CONF], + '-b', '0.0.0.0:%s' % conf[CONF_SEAHUB_PORT], + ] |