=== modified file 'zsh-functions/confz_containers_init' --- old/zsh-functions/confz_containers_init 2022-06-25 11:07:56 +0000 +++ new/zsh-functions/confz_containers_init 2022-06-25 10:52:00 +0000 @@ -95,8 +95,7 @@ require fs_m filename=$vars[svc_dir]/supervise/lock mode=644 if (($+vars[log_dir])); then - require container_service_log :svc_dir :log_dir :log_uid :log_gid \ - \?log_umask + require container_service_log :svc_dir :log_dir :log_uid :log_gid else [[ -e $vars[svc_dir]/log/supervise ]] && \ die "Should not have a logger but one might be running: ${(qqq)vars[svc_dir]}" @@ -106,15 +105,12 @@ confz_container_service_log_check() { checkvars svc_dir log_dir log_uid log_gid - defvar log_umask 007 local -a runscript=( '#!/command/execlineb -P' - "umask $vars[log_umask]" - "if { mkdir -p ${(qqq)vars[log_dir]} }" "if { mkdir -p ${(qqq)vars[log_dir]} }" "if { chown -R $vars[log_uid]:$vars[log_gid] ${(qqq)vars[log_dir]} }" - "s6-setuidgid $vars[log_uid]:$vars[log_gid]" + "s6-setuidgid :$vars[log_uid]:$vars[log_gid]" "s6-log -b -- t ${(qqq)vars[log_dir]}" )