Skip to content

Instantly share code, notes, and snippets.

@coolswitcher
Forked from tchollingsworth/rsyncd.socket
Created August 30, 2017 11:39
Show Gist options
  • Save coolswitcher/6be2525faed49180efe842b5a4c172ac to your computer and use it in GitHub Desktop.
Save coolswitcher/6be2525faed49180efe842b5a4c172ac to your computer and use it in GitHub Desktop.
rsyncd systemd units
[Unit]
Description=rsyncd Service Sockets
[Socket]
ListenStream=873
Accept=yes
[Install]
WantedBy=sockets.target
[Unit]
Description=rsyncd Rsync Daemon
After=network.target
[Service]
ExecStart=/usr/bin/rsync --config=/etc/rsyncd/rsyncd.conf --daemon
StandardInput=socket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment