Skip to content
This repository has been archived by the owner on Aug 12, 2019. It is now read-only.

Commit

Permalink
0.13.2
Browse files Browse the repository at this point in the history
  • Loading branch information
oznu committed Jan 18, 2019
1 parent 5475965 commit b68766d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Multi-stage build - See https://docs.docker.com/engine/userguide/eng-image/multistage-build
FROM ubnt/unms:0.13.1 as unms
FROM ubnt/unms-netflow:0.13.1 as unms-netflow
FROM oznu/s6-node:10.13.0-r2-debian-amd64
FROM ubnt/unms:0.13.2 as unms
FROM ubnt/unms-netflow:0.13.2 as unms-netflow
FROM oznu/s6-node:10.15.0-debian-amd64

ENV DEBIAN_FRONTEND=noninteractive

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.raspberry-pi
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Multi-stage build - See https://docs.docker.com/engine/userguide/eng-image/multistage-build
FROM ubnt/unms:0.13.1 as unms
FROM ubnt/unms-netflow:0.13.1 as unms-netflow
FROM oznu/s6-node:10.13.0-r2-debian-armhf
FROM ubnt/unms:0.13.2 as unms
FROM ubnt/unms-netflow:0.13.2 as unms-netflow
FROM oznu/s6-node:10.15.0-debian-armhf

ENV DEBIAN_FRONTEND=noninteractive

Expand Down
6 changes: 3 additions & 3 deletions root/etc/cont-init.d/40-prepare
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ ln -s /config/cert /cert

# UNMS Logs
[ -e /config/unms/logs ] || mkdir -p /config/unms/logs
chown -R nobody:nobody /config/unms/logs
chown -R nobody:nogroup /config/unms/logs

# Service Logs
[ -e /config/logs ] || mkdir -p /config/logs
chown -R nobody:nobody /config/logs
chown -R nobody:nogroup /config/logs

# Clean cron
[ -f /var/run/crond.pid ] rm -rf /var/run/crond.pid
[ -f /var/run/crond.pid ] && rm -rf /var/run/crond.pid

# Fix hosts file
echo "127.0.0.1 unms" >> /etc/hosts
4 changes: 2 additions & 2 deletions root/etc/cont-init.d/50-postgres
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/with-contenv sh

mkdir -p /config/postgres /run/postgresql
chown -R postgres:postgres /config/postgres /run/postgresql
mkdir -p /config/postgres /run/postgresql /var/run/postgresql
chown -R postgres:postgres /config/postgres /run/postgresql /var/run/postgresql
chmod 0700 /config/postgres

if [ -e /config/postgres/postgresql.conf ]; then
Expand Down

0 comments on commit b68766d

Please sign in to comment.