From 59bcea16e588b2c44c56c515c8b4061151195c94 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sun, 29 Dec 2019 15:19:10 -0800 Subject: [PATCH] Need to support `.users` files or no one can log in --- README.md | 4 ++-- context/entrypoint | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1f4b636..3e76e42 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ provide all `nut` options without making too many compromises. ## Usage -1. Create necessary configurations in `./config`; both `.conf` and `.html` files -are supported. **`./config` includes sample configurations.** +1. Create necessary configurations in `./config`; `.conf`, `.html`, and `.users` +files are supported. **`./config` includes sample configurations.** 1. `docker-compose up -d` 1. If `MODE` is set to `netserver`, `nut` will be available on the container's port `3493`. diff --git a/context/entrypoint b/context/entrypoint index c84eb9b..e619349 100755 --- a/context/entrypoint +++ b/context/entrypoint @@ -10,6 +10,7 @@ echo "Copying configurations from ${CONFIG_SOURCE} to ${CONFIG_DEST}..." find $CONFIG_SOURCE -name "*.conf" -exec cp '{}' $CONFIG_DEST \; find $CONFIG_SOURCE -name "*.html" -exec cp '{}' $CONFIG_DEST \; +find $CONFIG_SOURCE -name "*.users" -exec cp '{}' $CONFIG_DEST \; echo "Restarting services..." -- GitLab