seafile-admin_virtualenv.patch 446 B

1234567891011121314151617
  1. --- a/tools/seafile-admin
  2. +++ b/tools/seafile-admin
  3. @@ -1,4 +1,4 @@
  4. -#!/usr/bin/env python
  5. +#!/usr/lib/seafile/seafileenv/bin/python2
  6. # coding: UTF-8
  7. '''This is the helper script to setup/manage your seafile server
  8. '''
  9. @@ -683,7 +683,7 @@
  10. def start_seahub_gunicorn():
  11. argv = [
  12. - 'gunicorn',
  13. + '/usr/lib/seafile/seafileenv/bin/gunicorn',
  14. 'seahub.wsgi:application',
  15. '-c',
  16. conf[CONF_SEAHUB_CONF],