Skip to content

Instantly share code, notes, and snippets.

@mstrehler
Created March 22, 2016 09:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mstrehler/fce8ae4fc2cf339cab85 to your computer and use it in GitHub Desktop.
Save mstrehler/fce8ae4fc2cf339cab85 to your computer and use it in GitHub Desktop.
rsync daemon configuration
# Global Part
log file = /var/log/rsync.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
# The RSYNC_USER_NAME environment variable may be used to request that rsync run as the authorizing user.
# If you want a rsync to run as the same user that was received for the rsync authentication, this setup is useful:
uid = %RSYNC_USER_NAME%
gid = *
# Modul Part
[files]
path = /srv/files
comment = file area
read only = false
timeout = 300
Enter file contents here
Message of the Day
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment