File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
install/production-filesystem/entrypoint.d Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ if [ ! -f "${NETALERTX_CONFIG}/app.conf" ]; then
77 >&2 echo " ERROR: Failed to create config directory ${NETALERTX_CONFIG} "
88 exit 1
99 }
10- cp /app/back/app.conf " ${NETALERTX_CONFIG} /app.conf" || {
11- >&2 echo " ERROR: Failed to copy default config to ${NETALERTX_CONFIG} /app.conf"
10+ install -m 600 -o ${NETALERTX_USER} -g ${NETALERTX_GROUP} /app/back/app.conf " ${NETALERTX_CONFIG} /app.conf" || {
11+ >&2 echo " ERROR: Failed to deploy default config to ${NETALERTX_CONFIG} /app.conf"
1212 exit 2
1313 }
1414 RESET=$( printf ' \033[0m' )
Original file line number Diff line number Diff line change @@ -97,8 +97,9 @@ CREATE TABLE Devices (
9797 devSite TEXT,
9898 devSSID TEXT,
9999 devSyncHubNode TEXT,
100- devSourcePlugin TEXT
101- , "devCustomProps" TEXT);
100+ devSourcePlugin TEXT,
101+ devFQDN TEXT,
102+ "devCustomProps" TEXT);
102103CREATE TABLE IF NOT EXISTS "Settings" (
103104 "setKey" TEXT,
104105 "setName" TEXT,
You can’t perform that action at this time.
0 commit comments