Skip to content

Commit

Permalink
Add ldapproxy image label and update ldapproxy.service
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed Feb 26, 2024
1 parent 3947c1c commit 1dcad9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions build-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ buildah add "${container}" ui /ui
buildah config \
--label='org.nethserver.tcp-ports-demand=8' \
--label='org.nethserver.flags=core_module no_data_backup' \
--label="org.nethserver.images=${repobase}/ldapproxy:${IMAGETAG:-latest}" \
--entrypoint=/ "${container}"
buildah commit "${container}" "${repobase}/${reponame}"
images+=("${repobase}/${reponame}")
Expand Down
2 changes: 1 addition & 1 deletion imageroot/systemd/user/ldapproxy.service
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ExecStart=/usr/bin/podman run \
--network=host \
--replace --name=%N \
--volume=./nginx:/srv:z \
${NGINX_IMAGE} nginx -g "daemon off;" -c /srv/nginx.conf
${LDAPPROXY_IMAGE} nginx -g "daemon off;" -c /srv/nginx.conf
ExecReload=-/usr/local/bin/runagent update-conf
ExecReload=/usr/bin/podman exec %N nginx -s reload
ExecStop=/usr/bin/podman stop --ignore --cidfile %t/ldapproxy.ctr-id -t 10
Expand Down

0 comments on commit 1dcad9e

Please sign in to comment.