Skip to content

Commit

Permalink
nc-limits: fix units
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Jun 24, 2018
1 parent bbb25fa commit fe12ff9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@

[v0.57.12](https://github.com/nextcloud/nextcloudpi/commit/b0203ab) (2018-06-21) nc-limits: autolimits enhancements
[v0.57.13](https://github.com/nextcloud/nextcloudpi/commit/2c9c790) (2018-06-24) nc-limits: fix units

[v0.57.12](https://github.com/nextcloud/nextcloudpi/commit/79da40a) (2018-06-21) nc-limits: autolimits enhancements

[v0.57.11](https://github.com/nextcloud/nextcloudpi/commit/038b260) (2018-06-20) letsencrypt: notify of renewals

[v0.57.10](https://github.com/nextcloud/nextcloudpi/commit/88843ab) (2018-06-20) ncp-web: fix JS docker detection

[v0.57.9](https://github.com/nextcloud/nextcloudpi/commit/ad64a4b) (2018-06-21) nc-format-USB: fix when ZRAM active
[v0.57.9 ](https://github.com/nextcloud/nextcloudpi/commit/ad64a4b) (2018-06-21) nc-format-USB: fix when ZRAM active

[v0.57.8 ](https://github.com/nextcloud/nextcloudpi/commit/e63523c) (2018-06-19) docker: adapt wizard

Expand Down
2 changes: 1 addition & 1 deletion etc/ncp-config.d/nc-limits.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ INFO="Examples: 200M or 2G. Write 0 for autoconfig"
configure()
{
# Set auto memory limit to 75% of the total memory
local TOTAL_MEM="$( free | sed -n 2p | awk '{ print $2 }' )"
local TOTAL_MEM="$( free -b | sed -n 2p | awk '{ print $2 }' )"
AUTOMEM=$(( TOTAL_MEM * 75 / 100 ))

# MAX FILESIZE
Expand Down
2 changes: 1 addition & 1 deletion ncp-web/ncp-web.cfg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
LANGUAGE_=[auto,en,de,_es_,zn]
LANGUAGE_=[_auto_,en,de,es,zn]

0 comments on commit fe12ff9

Please sign in to comment.