From d17d4b528fff4fba9b0725a8708bfe25b2105d2e Mon Sep 17 00:00:00 2001 From: wizzdom Date: Sun, 18 Feb 2024 22:47:46 +0000 Subject: [PATCH] enable file upload and comments --- jobs/services/privatebin.hcl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/jobs/services/privatebin.hcl b/jobs/services/privatebin.hcl index e901fd9..633803c 100644 --- a/jobs/services/privatebin.hcl +++ b/jobs/services/privatebin.hcl @@ -67,7 +67,7 @@ opendiscussion = false password = true -fileupload = false +fileupload = true burnafterreadingselected = false @@ -87,7 +87,7 @@ template = "bootstrap-dark" ;info = "More information on the project page." ; (optional) notice to display -notice = "Note: Distro is a Goombean." +; notice = "Note: Distro is a Goombean." languageselection = false @@ -139,6 +139,7 @@ default = "1week" 1hour = 3600 1day = 86400 1week = 604800 +2week = 1209600 ; Well this is not *exactly* one month, it's 30 days: 1month = 2592000 1year = 31536000 @@ -189,7 +190,7 @@ dsn = "pgsql:host=postgres.service.consul;dbname={{ key "privatebin/db/name" }}" tbl = "privatebin_" ; table prefix usr = "{{ key "privatebin/db/user" }}" pwd = "{{ key "privatebin/db/password" }}" -opt[12] = true ; PDO::ATTR_PERSISTENT +opt[12] = true ; PDO::ATTR_PERSISTENT ; use persistent connections - default [yourls] ; When using YOURLS as a "urlshortener" config item: