rsync daemon mode as a systemd socket listener
Does anyone have a suitable systemd .socket file to run rsync as root in daemon mode when a connection is made?
I realise I can use rsync over ssh but I would like to run rsync as root so I can use it to backup important system directories as well as /home/nemo. The way I have all my other devices set up is to run rsync as daemon from inetd but on sailfish the preferred option seems to be to use a systemd .socket definition.
If no one has one, I will look at the systemd documentation and create one. But I thought someone might have already set this up.