container-images/rsyncd
2024-03-27 15:44:09 -04:00
..
Dockerfile adding an rsync image 2024-03-27 15:44:09 -04:00
podman-rsyncd.service adding an rsync image 2024-03-27 15:44:09 -04:00
README.md adding an rsync image 2024-03-27 15:44:09 -04:00
rsyncd.conf adding an rsync image 2024-03-27 15:44:09 -04:00

rsyncd container

build it

podman build -t rsyncd .

run it

cp podman-rsyncd.service /etc/systemd/system/
mkdir -p /etc/podman.d
cat > /etc/podman.d <<EOF
IMAGE_NAME=rsyncd
PODMAN_RUN_ARGS=" -it --rm -v /mnt/data/mydata-rsyncd.conf:/etc/rsyncd.conf:ro -v /mnt/data/mydata/:/data:ro -p 873:873 "
EOF
systemctl enable --now podman-rsyncd.service