From e8318269d15a5b5f603079fa5ad045087374cb13 Mon Sep 17 00:00:00 2001 From: maddaat Date: Mon, 13 Apr 2026 18:08:28 +0400 Subject: Configure SSL certificates --- files.sh | 50 +++++++++++++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 21 deletions(-) (limited to 'files.sh') diff --git a/files.sh b/files.sh index 8314822..88f080e 100644 --- a/files.sh +++ b/files.sh @@ -1,23 +1,31 @@ -install_dir 0755 root wheel '/etc' -install_file 0600 root wheel '/etc/doas.conf' -install_file 0644 root wheel '/etc/exports' -install_file 0644 root wheel '/etc/fstab' -install_file 0644 root wheel '/etc/hosts' -install_file 0644 root wheel '/etc/httpd.conf' -install_file 0600 root wheel '/etc/pf.conf' -install_file 0644 root wheel '/etc/rc.conf.local' -install_file 0644 root wheel '/etc/shells' -install_dir 0755 root wheel '/etc/ssh' -install_file 0644 root wheel '/etc/ssh/sshd_config' +install_dir 0755 root wheel '/etc' +install_file 0644 root wheel '/etc/acme-client.conf' +install_file 0600 root wheel '/etc/doas.conf' +install_file 0644 root wheel '/etc/exports' +install_file 0644 root wheel '/etc/fstab' +install_file 0644 root wheel '/etc/hosts' +install_file 0644 root wheel '/etc/httpd.conf' +install_dir 0755 root wheel '/etc/httpd' +install_file 0644 root wheel '/etc/httpd/_acme.conf' +install_file 0644 root wheel '/etc/httpd/_listen80.conf' +install_file 0644 root wheel '/etc/httpd/_listen443.conf' +install_file 0600 root wheel '/etc/pf.conf' +install_file 0644 root wheel '/etc/rc.conf.local' +install_file 0644 root wheel '/etc/shells' +install_dir 0755 root wheel '/etc/ssh' +install_file 0644 root wheel '/etc/ssh/sshd_config' -install_dir 0755 root wheel '/home' -install_dir 0755 git git '/home/git' -install_file 0644 git git '/home/git/.gitconfig' -install_file 0600 git git '/home/git/.gitolite.rc' +install_dir 0755 root wheel '/home' +install_dir 0755 git git '/home/git' +install_file 0644 git git '/home/git/.gitconfig' +install_file 0600 git git '/home/git/.gitolite.rc' -install_dir 0755 root daemon '/var' -install_dir 0755 root daemon '/var/www' -install_dir 0755 root daemon '/var/www/conf' -install_file 0644 root wheel '/var/www/conf/cgitrc' -install_dir 0755 git git '/var/www/git' -install_dir 0755 git git '/var/www/git/repositories' +install_dir 0755 root daemon '/var' +install_dir 0555 root wheel '/var/cron' +install_dir 1730 root crontab '/var/cron/tabs' +install_file 0600 root crontab '/var/cron/tabs/root' +install_dir 0755 root daemon '/var/www' +install_dir 0755 root daemon '/var/www/conf' +install_file 0644 root wheel '/var/www/conf/cgitrc' +install_dir 0755 git git '/var/www/git' +install_dir 0755 git git '/var/www/git/repositories' -- cgit v1.2.3