Add some more documentation text for plugin 'delete_after_delay'.
This commit is contained in:
parent
859d4c5c8e
commit
b005aa5ece
@ -75,6 +75,8 @@ systemctl start etherpad.service
|
||||
# NGINX as Proxy etherpad
|
||||
#
|
||||
FQHN="ep-6fwstq-ohv1zato8p.faire-mobilitaet.de"
|
||||
FQHN="ep-ro-9357.reachoutberlin.de"
|
||||
|
||||
HOSTNAME="${FQHN%%.*}"
|
||||
|
||||
cat <<EOF > /etc/nginx/sites-available/${FQHN}.conf
|
||||
@ -220,12 +222,37 @@ vim /var/www/etherpad/etherpad-lite/settings.json
|
||||
#
|
||||
# Add foolowing code to settings.json
|
||||
#
|
||||
# maybe after
|
||||
#
|
||||
# "loglevel": "INFO",
|
||||
#
|
||||
# add:
|
||||
#
|
||||
# /*
|
||||
# * Automatically deletes pads after a configured delay
|
||||
# *
|
||||
# * delay: (mandatory) delay in seconds with no edition of the pad before deletion. You can't put
|
||||
# * 7*86400 for a week, you have to put 604800.
|
||||
# *
|
||||
# * loop: boolean, tells if you want to use deletion loops (true) or not (false) (if you use an
|
||||
# * external script for example). Default is true.
|
||||
# *
|
||||
# * loopDelay delay: in seconds between deletion loops. Deletion loop will check all pads to see if
|
||||
# * they have to be deleted. You can't put 60*60 for a hour, you have to put 3600.
|
||||
# * Default is one hour.
|
||||
# *
|
||||
# * deleteAtStart: boolean, tells if you want to start a deletion loop at Etherpad startup. Default
|
||||
# * is true.
|
||||
# *
|
||||
# * text: is the text that will replace the deleted pad's content. Default is what is in the example
|
||||
# * above.
|
||||
# */
|
||||
# "ep_delete_after_delay": {
|
||||
# "delay": 86400, // one day, in seconds
|
||||
# "loop": true,
|
||||
# "loopDelay": 3600, // one hour, in seconds
|
||||
# "deleteAtStart": true,
|
||||
# "text": "The content of this pad has been deleted since it was older than the configured delay."
|
||||
# },
|
||||
# }, // ep_delete_after_delay
|
||||
#
|
||||
vim /var/www/etherpad/etherpad-lite/settings.json
|
||||
|
Loading…
Reference in New Issue
Block a user