blob: a3e220103f9b0dbbecbca9cd3aeb730164c5938f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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],
]
|