Le samedi 2 mai 2020 11:42:37 CEST siefke_lis...@web.de a écrit :
> The result is same. When run ssh samsung it works, when I run sync_docs.sh
> in shell it works. Why with systemd make it trouble?
>
> Thank you
> Silvio
I do some rsync replication based on cron jobs, without inotify nor systemd
Hi,
I have question to the combination of inotify and rsync. I want that my
documents folder sync with other maschine if the host is up. So I find
this soulution in net.
maybe it would be less pain using something like https://syncthing.net/
- it also watches for file changes and syncs doc
> siefke@192.168.2.160: Permission denied (publickey,password).
>
> So I place the script in home folder, place systemd service file in home and
> run it with systemd --user.
>
> The result is same. When run ssh samsung it works, when I run sync_docs.sh
> in shell it works. Why with systemd make
Hello,
I have question to the combination of inotify and rsync. I want that my
documents folder sync with other maschine if the host is up. So I find
this soulution in net.
The problem is, I write a script take it in /usr/local/bin
cat /usr/local/bin/sync_docs.sh
#!/usr/bin/env bash
if pin
4 matches
Mail list logo