summarylogtreecommitdiffstats
path: root/filebrowser-bin.install
diff options
context:
space:
mode:
Diffstat (limited to 'filebrowser-bin.install')
-rw-r--r--filebrowser-bin.install18
1 files changed, 16 insertions, 2 deletions
diff --git a/filebrowser-bin.install b/filebrowser-bin.install
index c18a79cc7ddb..831bc4983e29 100644
--- a/filebrowser-bin.install
+++ b/filebrowser-bin.install
@@ -5,12 +5,26 @@ For the first time you need to initialize, for example:
-----------------------------------------------------------------------------
$ sudo mkdir -p /usr/share/filebrowser/storage
-$ sudo touch /usr/share/filebrowser/database.db
-$ sudo cp /etc/filebrowser/example.config.json /etc/filebrowser/config.json
+$ cd /usr/share/filebrowser/storage
+$ sudo filebrowser config init
+...(Setting your filebrowser)
+$ sudo filebrowser config export /etc/filebrowser/config.json
$ sudo systemctl enable --now filebrowser@config
-----------------------------------------------------------------------------
More: https://github.com/filebrowser/filebrowser
+ https://docs.filebrowser.xyz/
+"
+}
+
+post_upgrade() {
+ echo "
+If you upgrade the filebrowser from 1.x
+You must need to read the: https://docs.filebrowser.xyz/upgrade-from-1.x
+And the systemd unit and config file also need to be changed by yourself.
+
+More: https://github.com/filebrowser/filebrowser
+ https://docs.filebrowser.xyz/
"
}