File epoptes_config.py_sysconfig_support.patch of Package epoptes

--- epoptes/common/config.py.orig	2017-03-27 09:10:46.592935211 -0300
+++ epoptes/common/config.py	2017-03-27 09:11:36.440935960 -0300
@@ -191,11 +191,11 @@
 
 
 # The system settings are shared with epoptes-clients, that's why the caps.
-system = read_shell_file('/etc/default/epoptes')
+system = read_shell_file('/etc/sysconfig/epoptes')
 # TODO: check if the types, e.g. PORT=int, may cause problems.
 system.setdefault('PORT', 789)
 system.setdefault('SOCKET_GROUP', 'epoptes')
-system.setdefault('DIR', '/var/run/epoptes')
+system.setdefault('DIR', '/run/epoptes')
 # Allow running unencrypted, for clients with very low RAM.
 try:
     if os.path.getsize('/etc/epoptes/server.crt') == 0:
openSUSE Build Service is sponsored by