summarylogtreecommitdiffstats
path: root/fix_seafile-admin.diff
blob: 5d0640eb110f78f2ce38a6bc35c4b6d15ab7732b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/tools/seafile-admin b/tools/seafile-admin
index 5e3658b..b767cce 100755
--- a/tools/seafile-admin
+++ b/tools/seafile-admin
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/lib/seahub/bin/python2
 # coding: UTF-8
 '''This is the helper script to setup/manage your seafile server
 '''
@@ -683,7 +683,7 @@ def start_controller():
 
 def start_seahub_gunicorn():
     argv = [
-        'gunicorn',
+        '/usr/lib/seahub/bin/gunicorn',
         'seahub.wsgi:application',
         '-c',
         conf[CONF_SEAHUB_CONF],