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

View file

@ -6,6 +6,6 @@ Description=Synchronize Freifunk MWU Firmware directory
[Service] [Service]
Type=oneshot 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 User=www-data
Group=www-data Group=www-data