Skip to content
Snippets Groups Projects
Commit 59bcea16 authored by Erick Hitter's avatar Erick Hitter
Browse files

Need to support `.users` files or no one can log in

parent 069735e6
Branches
No related tags found
1 merge request!1MVP
Pipeline #1846 passed
...@@ -6,8 +6,8 @@ provide all `nut` options without making too many compromises. ...@@ -6,8 +6,8 @@ provide all `nut` options without making too many compromises.
## Usage ## Usage
1. Create necessary configurations in `./config`; both `.conf` and `.html` files 1. Create necessary configurations in `./config`; `.conf`, `.html`, and `.users`
are supported. **`./config` includes sample configurations.** files are supported. **`./config` includes sample configurations.**
1. `docker-compose up -d` 1. `docker-compose up -d`
1. If `MODE` is set to `netserver`, `nut` will be available on the container's 1. If `MODE` is set to `netserver`, `nut` will be available on the container's
port `3493`. port `3493`.
......
...@@ -10,6 +10,7 @@ echo "Copying configurations from ${CONFIG_SOURCE} to ${CONFIG_DEST}..." ...@@ -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 "*.conf" -exec cp '{}' $CONFIG_DEST \;
find $CONFIG_SOURCE -name "*.html" -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..." echo "Restarting services..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment