hedgedoc: delete dangling socket

This commit is contained in:
Sandro - 2023-08-11 00:36:04 +02:00
parent f847bb8a6f
commit 336097bcde
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 6 additions and 1 deletions

View File

@ -92,7 +92,12 @@
};
systemd = {
services.hedgedoc.serviceConfig.UMask = "0007";
services.hedgedoc = {
preStart = ''
rm -f ${config.services.hedgedoc.settings.path}
'';
serviceConfig.UMask = "0007";
};
tmpfiles.rules = [
"d /run/hedgedoc/ 0770 hedgedoc hedgedoc -"
];