fix: certbot selinux and rsync

- fix rsync to use 755 permissions
- add rsync selinux booleans
This commit is contained in:
2024-07-08 23:17:38 +10:00
parent 899e2cbf49
commit d9a2966ffd
2 changed files with 13 additions and 3 deletions
@@ -3,8 +3,6 @@ Description=certbot-syncer service
[Service]
Type=oneshot
ExecStart=/usr/bin/rsync --chmod=D2755,F644 -aL /etc/letsencrypt/live/ <%= $data_root %>/pub/
ExecStart=/usr/bin/rsync --chmod=755 -aL /etc/letsencrypt/live/ <%= $data_root %>/pub/
User=root
Group=root
PermissionsStartOnly=false
PrivateTmp=no