diff --git a/tuned/daemon/application.py b/tuned/daemon/application.py index d1bf72a..607f349 100644 --- a/tuned/daemon/application.py +++ b/tuned/daemon/application.py @@ -83,7 +83,7 @@ class Application(object): raise TunedException("Unix socket interface is already initialized.") self._unix_socket_exporter = exports.unix_socket.UnixSocketExporter(self.config.get(consts.CFG_UNIX_SOCKET_PATH), - self.config.get(consts.CFG_UNIX_SOCKET_SIGNAL_PATHS), + self.config.get_list(consts.CFG_UNIX_SOCKET_SIGNAL_PATHS), self.config.get(consts.CFG_UNIX_SOCKET_OWNERSHIP), self.config.get_int(consts.CFG_UNIX_SOCKET_PERMISIONS), self.config.get_int(consts.CFG_UNIX_SOCKET_CONNECTIONS_BACKLOG)) diff --git a/tuned/exports/unix_socket_exporter.py b/tuned/exports/unix_socket_exporter.py index a69b06a..4c526a2 100644 --- a/tuned/exports/unix_socket_exporter.py +++ b/tuned/exports/unix_socket_exporter.py @@ -30,7 +30,7 @@ class UnixSocketExporter(interfaces.ExporterInterface): self._socket_path = socket_path self._socket_object = None - self._socket_signal_paths = re.split(r",;", signal_paths) if signal_paths else [] + self._socket_signal_paths = signal_paths self._socket_signal_objects = [] self._ownership = [-1, -1] if ownership: