Improved install
This commit is contained in:
parent
114d8c461b
commit
ec024c9992
@ -40,7 +40,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
log_file="filebrowser/addusers.txt"
|
log_file="$SMB_TOOLS_PATH/filebrowser/addusers.txt"
|
||||||
|
|
||||||
if [ -f "$log_file" ]; then
|
if [ -f "$log_file" ]; then
|
||||||
echo "$USERNAME:$PASSWORD" >> "$log_file"
|
echo "$USERNAME:$PASSWORD" >> "$log_file"
|
||||||
|
3
filebrowser/install.sh
Normal file
3
filebrowser/install.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
docker compose up -d
|
@ -42,4 +42,8 @@ source $HOME/.bashrc
|
|||||||
|
|
||||||
# Set it for the current script execution too
|
# Set it for the current script execution too
|
||||||
export SMB_TOOLS_PATH="$SCRIPT_DIR"
|
export SMB_TOOLS_PATH="$SCRIPT_DIR"
|
||||||
echo "SMB_TOOLS_PATH set to: $SMB_TOOLS_PATH"
|
echo "SMB_TOOLS_PATH set to: $SMB_TOOLS_PATH"
|
||||||
|
|
||||||
|
cd filebrowser
|
||||||
|
bash ./install
|
||||||
|
cd ..
|
Loading…
x
Reference in New Issue
Block a user