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