Make the scripts configurable and provide example

This commit is contained in:
2019-05-23 14:49:51 +01:00
parent e64ca0bb9f
commit d57c3c3546
2 changed files with 23 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
config.sh

22
config.sh.example Normal file
View File

@@ -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"