Skip to content

Commit c0692d6

Browse files
committed
services/pkg/rsync: Make more configurable
1 parent 13a65b5 commit c0692d6

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

services/pkg/rsync/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
FROM ghcr.io/void-linux/void-linux:latest-thin-x86_64
22

3-
RUN xbps-install -Sy rsync tini
3+
RUN xbps-install -Sy rsync tini && \
4+
mkdir -p /etc/rsyncd.conf.d/ && \
5+
rm -rf /var/cache/xbps
46

57
WORKDIR /srv/rsync
68
COPY rsyncd.conf /etc/rsyncd.conf

services/pkg/rsync/rsyncd.conf

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
log file = /dev/stdout
22
port = 873
33

4-
[voidlinux]
5-
path = /srv/rsync
6-
comment = Main Void Mirror
7-
read only = true
8-
timeout = 300
9-
list = true
4+
&include /etc/rsyncd.conf.d

0 commit comments

Comments
 (0)