mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-12 10:45:38 +02:00
Adjust podop debug level based on environment
This commit is contained in:
parent
6ba55ee377
commit
6d088504bd
@ -11,7 +11,7 @@ from podop import run_server
|
||||
|
||||
def start_podop():
|
||||
os.setuid(8)
|
||||
run_server(40, "dovecot", "/tmp/podop.socket", [
|
||||
run_server(3 if "DEBUG" in os.environ else 1, "dovecot", "/tmp/podop.socket", [
|
||||
("quota", "url", "http://admin/internal/dovecot/§"),
|
||||
("auth", "url", "http://admin/internal/dovecot/§"),
|
||||
("sieve", "url", "http://admin/internal/dovecot/§"),
|
||||
|
@ -12,7 +12,7 @@ from podop import run_server
|
||||
|
||||
def start_podop():
|
||||
os.setuid(100)
|
||||
run_server(40, "postfix", "/tmp/podop.socket", [
|
||||
run_server(3 if "DEBUG" in os.environ else 1, "postfix", "/tmp/podop.socket", [
|
||||
("transport", "url", "http://admin/internal/postfix/transport/§"),
|
||||
("alias", "url", "http://admin/internal/postfix/alias/§"),
|
||||
("domain", "url", "http://admin/internal/postfix/domain/§"),
|
||||
|
Loading…
Reference in New Issue
Block a user