Set copied davmail file to writeable

This commit is contained in:
Evie Litherland-Smith 2023-10-08 09:53:09 +01:00
parent 9ce0fac4e9
commit ad63fc07e9

View file

@ -220,7 +220,7 @@
ExecStartPre = with config.home; ''
/bin/sh -c "if [ ! -f ${homeDirectory}/.davmail.properties ]; then cp ${
./.davmail.properties
} ${homeDirectory}/.davmail.properties; fi"
} ${homeDirectory}/.davmail.properties; fi; chmod 644 ${homeDirectory}/.davmail.properties"
'';
ExecStart =
"${pkgs.davmail}/bin/davmail -notray ${config.home.homeDirectory}/.davmail.properties";