Watch Codedire
This commit is contained in:
parent
a5a91bb1ab
commit
4204994418
|
@ -170,7 +170,7 @@ in
|
|||
ExecStart = toString (pkgs.writeShellScript "watch-${name}-maildir" ''
|
||||
while ${pkgs.coreutils}/bin/sleep 1s; do
|
||||
${quick-sync}
|
||||
${pkgs.inotify-tools}/bin/inotifywait -e move,create,delete -r ${maildir}/${name}/Inbox
|
||||
${pkgs.inotify-tools}/bin/inotifywait -e move,create,delete -r ${maildir}/${name}/Inbox ${maildir}/${name}/Code
|
||||
done
|
||||
'');
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue