diff options
| author | Paul Buetow <paul@buetow.org> | 2022-08-30 13:28:59 +0100 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2022-08-30 13:28:59 +0100 |
| commit | 2b8efc24b4f0206cf76947cb6afa9cb396c376ee (patch) | |
| tree | 865a92d0d9cec94877af2a3949464b1ee803c6af /frontends/etc | |
| parent | 6d74255b017c9ed5e1c637caf43cd710f76116d0 (diff) | |
add rsyncd
Diffstat (limited to 'frontends/etc')
| -rw-r--r-- | frontends/etc/inetd.conf | 3 | ||||
| -rw-r--r-- | frontends/etc/rsyncd.conf.tpl | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/frontends/etc/inetd.conf b/frontends/etc/inetd.conf index efddbb3..7467a43 100644 --- a/frontends/etc/inetd.conf +++ b/frontends/etc/inetd.conf @@ -1,2 +1,3 @@ 127.0.0.1:11965 stream tcp nowait www /usr/local/bin/vger vger -v -*:4242 stream tcp nowait _failunderd /bin/cat cat /var/run/failunderd/status.json +rsync stream tcp nowait root /usr/local/bin/rsync rsyncd --daemon +# *:4242 stream tcp nowait _failunderd /bin/cat cat /var/run/failunderd/status.json diff --git a/frontends/etc/rsyncd.conf.tpl b/frontends/etc/rsyncd.conf.tpl new file mode 100644 index 0000000..86e6b0c --- /dev/null +++ b/frontends/etc/rsyncd.conf.tpl @@ -0,0 +1,21 @@ +<% my $allow = '108.160.134.135,2401:c080:1000:45af:5400:3ff:fec6:ca1d,*.buetow.org,localhost'; %> +max connections = 5 +timeout = 300 + +[publicgemini] +comment = Public Gemini capsule content +path = /var/gemini +read only = yes +list = yes +uid = www +gid = www +hosts allow = <%= $allow %> + +[publichttp] +comment = Public HTTP content +path = /var/www/htdocs +read only = yes +list = yes +uid = www +gid = www +hosts allow = <%= $allow %> |
