Skip to content

Instantly share code, notes, and snippets.

@tchollingsworth
Created November 28, 2011 18:08
Show Gist options
  • Save tchollingsworth/1401352 to your computer and use it in GitHub Desktop.
Save tchollingsworth/1401352 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