|
|
@ -392,7 +392,7 @@ After=network-online.target |
|
|
|
[Service] |
|
|
|
[Service] |
|
|
|
User=root |
|
|
|
User=root |
|
|
|
WorkingDirectory=/root/ |
|
|
|
WorkingDirectory=/root/ |
|
|
|
ExecStart=/usr/local/bin/filebrowser -r / |
|
|
|
ExecStart=/usr/local/bin/filebrowser -r /root/.homeassistant |
|
|
|
[Install] |
|
|
|
[Install] |
|
|
|
WantedBy=default.target" >$service_path |
|
|
|
WantedBy=default.target" >$service_path |
|
|
|
|
|
|
|
|
|
|
@ -401,7 +401,7 @@ msg_ok "Created Service" |
|
|
|
|
|
|
|
|
|
|
|
msg_ok "Completed Successfully!\n" |
|
|
|
msg_ok "Completed Successfully!\n" |
|
|
|
echo -e "FileBrowser should be reachable by going to the following URL. |
|
|
|
echo -e "FileBrowser should be reachable by going to the following URL. |
|
|
|
${BL}http://$IP:8080${CL} \n" |
|
|
|
${BL}http://$IP:8080${CL} admin|changeme\n" |
|
|
|
exit |
|
|
|
exit |
|
|
|
fi |
|
|
|
fi |
|
|
|
} |
|
|
|
} |
|
|
|