Verified Commit 9f4476f6 authored by Che's avatar Che

Documentation update (minor fixes and updates)

- Consistently use /var/www/nag/ as default root for the nag
- Fix broken link to the Apache configuration
- Remove Caching headers from the todo section
- Update the shell backend todo section
parent fa302180
......@@ -12,7 +12,7 @@ as seen in:
## Table of Contents
* [Setup](#setup)
* [Apache configuration](#apache_configuration)
* [Apache configuration](#apache-configuration)
* [ifs.sh](#ifssh)
* [gallery.php](#galleryphp)
* [explanation.html](#explanationhtml)
......@@ -28,7 +28,6 @@ The gallery consists of two scripts. [ifs.sh](#ifssh) is the file synchronizatio
* backup directory
* Dependencies
* PHP Frontend
* Caching headers (moved to Web server configuration)
* Currently optimized for fullscreen use with a resolution of 1920x1080 pixels, thumbnail size of 24 ($size/parameter: size), 2769 thumbnails in the grid ($imgLimit/parameter: limit)
```
// fullpath is the pattern for selecting the images from the source directory
......@@ -39,11 +38,18 @@ The gallery consists of two scripts. [ifs.sh](#ifssh) is the file synchronizatio
* Packages (Debian)
* Shell Backend
```
is_command_available_critical date
is_command_available_critical find
is_command_available_critical inotifywait
is_command_available_critical rm
is_command_available_critical rsync
defSCRIPTMODE="rotated"
defDIRECTORYSRC="/var/www/nag/thumb/"
defDIRECTORYDST="/var/www/gallery/thumbs/"
defFILELIST="/tmp/ifslist"
# dated configuration variables
defDATESTART="2018-10-04"
defDATEEND="2018-11-23"
# rotated configuration variables
defDIRECTORYARC="/var/www/gallery/archive/"
defROTATELIMIT=2769
date, find, inotifywait, ls, rm, rsync, tail, wc
```
* Packages (Debian)
......
......@@ -5,7 +5,7 @@
# Pipe output to a logfile: ifs.sh [PARAMS] >> $LOGFILE 2>&1
# GCB, 20.08.2018
STAMP="19.2.9-12cdb"
STAMP="19.2.19-1c0a"
SCRIPTNAME="${0##*/}"
##################################
......@@ -19,7 +19,7 @@ SCRIPTNAME="${0##*/}"
# The script mode (supported values: rotated, dated).
defSCRIPTMODE="rotated"
# The source directory (which is watched for filesystem changes).
defDIRECTORYSRC="/var/www/html/thumb/"
defDIRECTORYSRC="/var/www/nag/thumb/"
# The destination directory (which will be filled with selected files).
defDIRECTORYDST="/var/www/gallery/thumbs/"
# The path to the (temporary) filtered file sync list (prefer /tmp, might be tmpfs).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment