Pass --nopid to Anope. (#259)

This commit is contained in:
Sadie Powell 2024-03-21 20:04:13 +00:00 committed by GitHub
parent c0e6ca4dde
commit 0c5c91368a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,