Role service-nginx-firmware: replace -a (-rlptgoD) in rsync command with -rlpt

Preserving owner and group causes problems if UIDs and GIDs differ 
between hosts.
This commit is contained in:
Julian Labus 2018-10-22 13:32:28 +02:00
parent 12ac1e07e3
commit 767e1fe5e1
No known key found for this signature in database
GPG Key ID: 8AF209F2C6B3572A
1 changed files with 1 additions and 1 deletions

View File

@ -6,6 +6,6 @@ Description=Synchronize Freifunk MWU Firmware directory
[Service]
Type=oneshot
ExecStart=/usr/bin/rsync -avh4 --delete rsync://milchreis.freifunk-mwu.de:873/firmware /var/www/html/firmware
ExecStart=/usr/bin/rsync -rlptvh4 --delete rsync://milchreis.freifunk-mwu.de:873/firmware /var/www/html/firmware
User=www-data
Group=www-data