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:
parent
12ac1e07e3
commit
767e1fe5e1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue