]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
kresd_controller: supervisord: rundir config fix
authorAleš <ales.mrazek@nic.cz>
Thu, 6 Jan 2022 02:04:59 +0000 (03:04 +0100)
committerAleš Mrázek <ales.mrazek@nic.cz>
Fri, 8 Apr 2022 14:17:53 +0000 (16:17 +0200)
manager/knot_resolver_manager/kresd_controller/supervisord/__init__.py

index ed15daee076f9abb24b877b584ed722b40c7bc60..ae426724240e4fa3a05fa8068fd28d14733c3871 100644 (file)
@@ -92,7 +92,7 @@ async def _write_config_file(config: KresConfig, instances: Set["SupervisordSubp
         config=SupervisordConfig(
             unix_http_server=supervisord_sock_file(config),
             pid_file=supervisord_pid_file(config),
-            workdir=str(config.server.management.rundir.to_path().absolute()),
+            workdir=str(config.server.rundir.to_path().absolute()),
             logfile=supervisord_log_file(config),
         ),
     )