Set copied davmail file to writeable
This commit is contained in:
parent
9ce0fac4e9
commit
ad63fc07e9
|
@ -220,7 +220,7 @@
|
||||||
ExecStartPre = with config.home; ''
|
ExecStartPre = with config.home; ''
|
||||||
/bin/sh -c "if [ ! -f ${homeDirectory}/.davmail.properties ]; then cp ${
|
/bin/sh -c "if [ ! -f ${homeDirectory}/.davmail.properties ]; then cp ${
|
||||||
./.davmail.properties
|
./.davmail.properties
|
||||||
} ${homeDirectory}/.davmail.properties; fi"
|
} ${homeDirectory}/.davmail.properties; fi; chmod 644 ${homeDirectory}/.davmail.properties"
|
||||||
'';
|
'';
|
||||||
ExecStart =
|
ExecStart =
|
||||||
"${pkgs.davmail}/bin/davmail -notray ${config.home.homeDirectory}/.davmail.properties";
|
"${pkgs.davmail}/bin/davmail -notray ${config.home.homeDirectory}/.davmail.properties";
|
||||||
|
|
Loading…
Reference in a new issue