config.py 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. # -*- encoding: utf8 -*-
  2. #
  3. # The Qubes OS Project, http://www.qubes-os.org
  4. #
  5. # Copyright (C) 2017 Marek Marczykowski-Górecki
  6. # <marmarek@invisiblethingslab.com>
  7. #
  8. # This program is free software; you can redistribute it and/or modify
  9. # it under the terms of the GNU Lesser General Public License as published by
  10. # the Free Software Foundation; either version 2.1 of the License, or
  11. # (at your option) any later version.
  12. #
  13. # This program is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. # GNU Lesser General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU Lesser General Public License along
  19. # with this program; if not, see <http://www.gnu.org/licenses/>.
  20. '''Configuration variables/constants'''
  21. #: path to qubesd socket
  22. QUBESD_SOCKET = '/var/run/qubesd.sock'
  23. QREXEC_CLIENT = '/usr/lib/qubes/qrexec-client'
  24. QREXEC_CLIENT_VM = '/usr/bin/qrexec-client-vm'
  25. QUBESD_RECONNECT_DELAY = 1.0
  26. QREXEC_SERVICES_DIR = '/etc/qubes-rpc'
  27. defaults = {
  28. 'template_label': 'black',
  29. 'shutdown_timeout': 60,
  30. }