Remove the usage of capabilities use port 8080

In the real world users can't get them to work...
This commit is contained in:
Florent Daigniere
2023-08-28 11:17:25 +02:00
parent fb97cec238
commit 562cd8c135
15 changed files with 20 additions and 18 deletions

View File

@@ -21,7 +21,7 @@ os.system("flock -n /queue/pid/master.pid rm /queue/pid/master.pid")
def start_podop():
system.drop_privs_to('postfix')
os.makedirs('/dev/shm/postfix',mode=0o700, exist_ok=True)
url = "http://" + os.environ["ADMIN_ADDRESS"] + "/internal/postfix/"
url = "http://" + os.environ["ADMIN_ADDRESS"] + ":8080/internal/postfix/"
# TODO: Remove verbosity setting from Podop?
run_server(0, "postfix", "/tmp/podop.socket", [
("transport", "url", url + "transport/§"),