User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
services:filebrowser [2024/09/04 13:11] willyservices:filebrowser [2025/01/21 11:50] (current) – [Running] willy
Line 20: Line 20:
  
 That's it!  That's it! 
 +
 +In addition you might want to create the following **.bashrc**:
 +<file - .bashrc>
 +#!/bin/bash
 +
 +export UMASK=0002
 +export PATH=$PATH:~/bin
 +</file>
  
 ==== Authentication ==== ==== Authentication ====
Line 85: Line 93:
 command_background=true command_background=true
 command="/data/daemons/filebrowser/bin/filebrowser" command="/data/daemons/filebrowser/bin/filebrowser"
-command_args="-r ${FOLDER} -p ${PORT} -b ${BASE_URL} -d ${DATABASE} -l ${FB_LOG_PATH}/${FB_SLOT}/filebrowser.log"+command_args="-r \"${FOLDER}\" -p ${PORT} -b \"${BASE_URL}\" -d \"${DATABASE}\" -l ${FB_LOG_PATH}/${FB_SLOT}/filebrowser.log"
 command_user="${FB_USER}:${FB_GROUP}" command_user="${FB_USER}:${FB_GROUP}"
  
 start_pre() { start_pre() {
-        if [ "${WD_SLOT}" != "filebrowser" ]+        if [ "${FB_SLOT}" != "filebrowser" ] 
 +        then
                 test -e "${FB_LOG_PATH}" || mkdir "${FB_LOG_PATH}"                 test -e "${FB_LOG_PATH}" || mkdir "${FB_LOG_PATH}"
                 test -e "${FB_LOG_PATH}/${FB_SLOT}" || {                 test -e "${FB_LOG_PATH}/${FB_SLOT}" || {

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information