Fix keepass sync on mac
This commit is contained in:
parent
908d8e22b1
commit
9a4c10442a
@ -136,11 +136,10 @@ in
|
|||||||
launchd.agents.keepass-sync = {
|
launchd.agents.keepass-sync = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config = {
|
config = {
|
||||||
Program = /bin/cp;
|
Program = "${pkgs.writeShellScript "keepass-sync" ''
|
||||||
ProgramArguments = [
|
${pkgs.coreutils}/bin/cp "${homedir}/storage/.macshare/.secret/arnie.kdbx" "${homedir}/.secret/arnie.kdbx"
|
||||||
"${homedir}/storage/.macshare/.secret/arnie.kdbx"
|
''}";
|
||||||
"${homedir}/arnie.kdbx"
|
ProgramArguments = [];
|
||||||
];
|
|
||||||
StartInterval = 60 * 10;
|
StartInterval = 60 * 10;
|
||||||
StandardErrorPath = "/var/log/keepass-sync.error.log";
|
StandardErrorPath = "/var/log/keepass-sync.error.log";
|
||||||
StandardOutPath = "/var/log/keepass-sync.out.log";
|
StandardOutPath = "/var/log/keepass-sync.out.log";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user