INNER CODE UNIT · Shell

group_id

CollaboraOnline/online · docker/from-source-gh-action/start-collabora-online.sh:33

group_id=$(id -g)
if [ "$user_id" -ne 1001 ]; then
  echo "cool:x:${user_id}:${group_id}::/opt/cool:/usr/sbin/nologin" >/tmp/passwd

  # Tell libc to use our files, via LD_PRELOAD
  export NSS_WRAPPER_PASSWD=/tmp/passwd
  export NSS_WRAPPER_GROUP=/etc/group
  export LD_PRELOAD=libnss_wrapper.so
fi

# Start coolwsd
exec /usr/bin/coolwsd --version --use-env-vars ${cert_params} --o:sys_template_path=/opt/cool/systemplate --o:child_root_path=/opt/cool/child-roots --o:file_server_root_path=/usr/share/coolwsd --o:cache_files.path=/opt/cool/cache --o:logging.color=false --o:stop_on_config_change=true ${extra_params} "$@"

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…