From d57c3c3546729a8fa9873c8e4c579e4f86cedc0a Mon Sep 17 00:00:00 2001 From: Martin Winkler Date: Thu, 23 May 2019 14:49:51 +0100 Subject: [PATCH] Make the scripts configurable and provide example --- .gitignore | 1 + config.sh.example | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .gitignore create mode 100644 config.sh.example diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cdd7c19 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +config.sh diff --git a/config.sh.example b/config.sh.example new file mode 100644 index 0000000..d948151 --- /dev/null +++ b/config.sh.example @@ -0,0 +1,22 @@ +# Local sync +piwiThumbRoot="/var/www/piwigo/_data/i/network/network/" +piwiPhotoRoot="/home/network/Qbilder/photos/" + +# Remote sync +piwiThumbRootRemote="${piwiThumbRoot}" +piwiPhotoRootRemote="/home/network/Bilder/photos/" +piwiLocalTemp="/tmp/piwiTemp/" +piwiLocalThumbRoot="/tmp/piwiMnt/" +piwiRemoteUser="user" +piwiRemoteHost="host" +piwiRemotePass="changeme" + +# Piwigo Refresh +piwiRefreshUrl="https://change.me/gallery" +piwiRefreshUser="user" +piwiRefreshPass="pass" +piwiRefreshSite="/var/www/piwigo/network" +piwiRefreshCatId=0 +piwiRefreshSubCatId=1 +piwiRefreshPrivacy=4 +piwiMountedCheckFile="/home/network/Qbilder/photos/.mounted"