Skip to content

Commit

Permalink
Pass --nopid to Anope. (progval#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
SadieCat committed Mar 21, 2024
1 parent c0e6ca4 commit 0c5c913
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions irctest/controllers/anope_services.py
Expand Up @@ -136,10 +136,9 @@ def run(self, protocol: str, server_hostname: str, server_port: int) -> None:
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,
Expand Down

0 comments on commit 0c5c913

Please sign in to comment.