From f2735a201192f01a461f4c3e75d9636dc54e2ec2 Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Sun, 24 Nov 2024 22:27:52 -0500 Subject: rotate nginx logs --- scripts/hostclass/git_server | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/hostclass/git_server') diff --git a/scripts/hostclass/git_server b/scripts/hostclass/git_server index b0280bd..ee576e5 100644 --- a/scripts/hostclass/git_server +++ b/scripts/hostclass/git_server @@ -104,6 +104,7 @@ install_template -m 0644 /usr/local/etc/nginx/nginx.conf [ -f "${nginx_conf_dir}/vhosts.conf" ] || install -Cv -m 0644 /dev/null "${nginx_conf_dir}/vhosts.conf" sysrc -v nginx_enable=YES service nginx restart +install_file -m 0644 /etc/newsyslog.conf.d/nginx.conf if [ "$git_public_fqdn" != "$fqdn" ]; then # Acquire public TLS certificate. -- cgit v1.2.3