Make the scripts configurable and provide example
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
config.sh
|
22
config.sh.example
Normal file
22
config.sh.example
Normal 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"
|
Reference in New Issue
Block a user