neoloc/retrieve_certbot_certs #97

Merged
unkinben merged 4 commits from neoloc/retrieve_certbot_certs into develop 2024-07-08 23:27:21 +10:00
2 changed files with 13 additions and 3 deletions
Showing only changes of commit d9a2966ffd - Show all commits

View File

@ -17,6 +17,18 @@ class certbot::selinux (
persistent => true,
value => 'on',
}
selboolean { 'rsync_client':
persistent => true,
value => 'on',
}
selboolean { 'rsync_export_all_ro':
persistent => true,
value => 'on',
}
selboolean { 'rsync_full_access':
persistent => true,
value => 'on',
}
exec { "restorecon_${data_root}/pub":
path => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'],

View File

@ -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