Skip to content
This repository was archived by the owner on Jan 7, 2024. It is now read-only.

Commit f815b90

Browse files
authored
Merge pull request #185 from patrickli/patrickli-patch-1
closes #166
2 parents 9d44a75 + cde01a3 commit f815b90

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
264264

265265
## Versions
266266

267+
* **23.01.23:** - Exclude `run` from `/config` volume.
267268
* **30.11.22:** - Bump JRE to 11.
268269
* **01.06.22:** - Deprecate armhf.
269270
* **23.12.21:** - Move min/max memory config from run to system.properties.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ app_setup_block: |
6666
6767
# changelog
6868
changelogs:
69+
- { date: "23.01.23:", desc: "Exclude `run` from `/config` volume."}
6970
- { date: "30.11.22:", desc: "Bump JRE to 11."}
7071
- { date: "01.06.22:", desc: "Deprecate armhf."}
7172
- { date: "23.12.21:", desc: "Move min/max memory config from run to system.properties."}

root/etc/cont-init.d/20-config

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22

33
# create our folders
44
mkdir -p \
5-
/config/{data,logs,run}
5+
/config/{data,logs}
66

77

88
# create symlinks for config
99
symlinks=( \
1010
/usr/lib/unifi/data \
11-
/usr/lib/unifi/logs \
12-
/usr/lib/unifi/run )
11+
/usr/lib/unifi/logs )
1312

1413
for i in "${symlinks[@]}"
1514
do
@@ -86,4 +85,5 @@ fi
8685
# permissions
8786
chown -R abc:abc \
8887
/config \
89-
/usr/lib/unifi
88+
/usr/lib/unifi \
89+
/run/unifi

0 commit comments

Comments
 (0)