privatebin changed its config file

master
Y 2018-12-16 15:52:20 +01:00
parent c5306e6b09
commit dcb833f0b1
2 changed files with 6 additions and 5 deletions

View File

@ -30,8 +30,8 @@
- name: configure privatebin - name: configure privatebin
template: template:
src: templates/conf.ini.j2 src: templates/conf.php.j2
dest: /etc/webapps/privatebin/conf.ini dest: /etc/webapps/privatebin/conf.php
group: http group: http
mode: 0640 mode: 0640

View File

@ -1,3 +1,4 @@
;<?php http_response_code(403); /*
; The home-server project produces a multi-purpose setup using Ansible. ; The home-server project produces a multi-purpose setup using Ansible.
; Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license. ; Copyright © 2018 Y. Gablin, under the GPL-3.0-or-later license.
; Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing. ; Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
@ -35,15 +36,15 @@ markdown = "Markdown"
[traffic] [traffic]
limit = 10 limit = 10
dir = PATH "/var/lib/privatebin" dir = "/var/lib/privatebin"
[purge] [purge]
limit = {{privatebin_purge_delay}} limit = {{privatebin_purge_delay}}
batchsize = 10 batchsize = 10
dir = PATH "/var/lib/privatebin" dir = "/var/lib/privatebin"
[model] [model]
class = Filesystem class = Filesystem
[model_options] [model_options]
dir = PATH "/var/lib/privatebin" dir = "/var/lib/privatebin"