nixos/postfix-tlspol: fix restart/stop with socket activation

Previously restarting or stopping would kill the RuntimeDirectory because
it was mistakenly still owned by the service unit while we migrated to
socket activation in a previous commit.

Reported-By: Herwig Hochleitner <herwig@bendlas.net>
Fixes: #538782
This commit is contained in:
Martin Weinelt
2026-09-30 16:04:22 +02:00
parent fa10d1c959
commit bab0dbd1ce

View File

@@ -244,8 +244,6 @@ in
"noroot"
"noroot-locked"
];
RuntimeDirectory = "postfix-tlspol";
RuntimeDirectoryMode = "1750";
WorkingDirectory = "/var/cache/postfix-tlspol";
UMask = "0077";
};