diff options
author | Simon Rettberg | 2024-10-08 12:15:59 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-10-08 12:15:59 +0200 |
commit | f82d0f2dcefa9b4cd0dca471ee343ef0fac4d08e (patch) | |
tree | 8872b7b7f4d5cb42aec82e080f7d4bf27546740b /satellit_installer/includes/90-set_directory_permissions.inc | |
parent | [SS?S] Make slxadmin cron script triggered by systemd timer as well (diff) | |
download | setup-scripts-f82d0f2dcefa9b4cd0dca471ee343ef0fac4d08e.tar.gz setup-scripts-f82d0f2dcefa9b4cd0dca471ee343ef0fac4d08e.tar.xz setup-scripts-f82d0f2dcefa9b4cd0dca471ee343ef0fac4d08e.zip |
[SS?S] Include acme.sh and according intergration requirements
Diffstat (limited to 'satellit_installer/includes/90-set_directory_permissions.inc')
-rw-r--r-- | satellit_installer/includes/90-set_directory_permissions.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/satellit_installer/includes/90-set_directory_permissions.inc b/satellit_installer/includes/90-set_directory_permissions.inc index 3e84d39..cb3e73f 100644 --- a/satellit_installer/includes/90-set_directory_permissions.inc +++ b/satellit_installer/includes/90-set_directory_permissions.inc @@ -25,6 +25,13 @@ set_directory_permissions() ( chown -R taskmanager "$TFTPDIR" + mkdir -p /home/taskmanager/{certs,.acme.sh} + chown taskmanager:taskmanager /home/taskmanager/{certs,.acme.sh} + chmod 0700 /home/taskmanager/{certs,.acme.sh} + + mkdir -p "/srv/openslx/www/.well-known/acme-challenge" + chown taskmanager:taskmanager "/srv/openslx/www/.well-known/acme-challenge" + mkdir -p "$SLXADMINCACHE" chmod 0755 "$SLXADMINCACHE" # if already there chown -R www-data:www-data "$SLXADMINCACHE" |