File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed
root/etc/s6-overlay/s6-rc.d Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -52,15 +52,6 @@ ln -sf /config/ldap_config.py /app/netbox/netbox/netbox/ldap_config.py
5252
5353mv /defaults/uwsgi.ini /app/netbox/netbox/uwsgi.ini > /dev/null 2>&1
5454
55- # build docs
56- if [[ ! -e "/app/netbox/netbox/project-static/docs/index.html" ]]; then
57- cd /app/netbox || exit 1
58- echo "Building local documentation"
59- mkdocs build -q
60- cd /app/netbox/netbox || exit 1
61- fi
62-
6355# permissions
6456lsiown -R abc:abc \
65- /app/netbox/netbox/static \
6657 /config
Original file line number Diff line number Diff line change 2020 print('Superuser creation skipped. Already exists.');
2121EOF
2222fi
23+
24+ # build docs
25+ if [[ ! -e "/app/netbox/netbox/project-static/docs/index.html" ]]; then
26+ cd /app/netbox || exit 1
27+ echo "Building local documentation"
28+ mkdocs build -q
29+ cd /app/netbox/netbox || exit 1
30+ fi
31+
32+ # permissions
33+ lsiown -R abc:abc \
34+ /app/netbox/netbox/static
You can’t perform that action at this time.
0 commit comments