summarylogtreecommitdiffstats
path: root/seafile-admin_virtualenv.patch
blob: 6a26e2710675b6985a6c159c30ee22bd669e713d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- 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
 '''
@@ -683,7 +683,7 @@
 
 def start_seahub_gunicorn():
     argv = [
-        'gunicorn',
+        '/usr/lib/seafile/seafileenv/bin/gunicorn',
         'seahub.wsgi:application',
         '-c',
         conf[CONF_SEAHUB_CONF],