From 0c5c91368a584ea734f91884c031f3893c368e1d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 21 Mar 2024 20:04:13 +0000 Subject: [PATCH] Pass --nopid to Anope. (#259) --- irctest/controllers/anope_services.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/irctest/controllers/anope_services.py b/irctest/controllers/anope_services.py index c58dee4..a2dfc99 100644 --- a/irctest/controllers/anope_services.py +++ b/irctest/controllers/anope_services.py @@ -136,10 +136,9 @@ class AnopeController(BaseServicesController, DirectoryBasedController): self.proc = subprocess.Popen( [ "anope", - "-n", # don't fork - "--config=services.conf", # can't be an absolute path - # "--logdir", - # f"/tmp/services-{server_port}.log", + "--config=services.conf", # can't be an absolute path in 2.0 + "--nofork", # don't fork + "--nopid", # don't write a pid ], cwd=self.directory, # stdout=subprocess.DEVNULL,