Skip to content

Making Wastebin persistent across reboots #3704

Closed Answered by tremor021
johnolinda asked this question in Q&A
Discussion options

You must be logged in to vote

The script is using the database since month ago

mkdir -p /opt/wastebin-data
cat <<EOF >/opt/wastebin-data/.env
WASTEBIN_DATABASE_PATH=/opt/wastebin-data/wastebin.db
WASTEBIN_CACHE_SIZE=1024
WASTEBIN_HTTP_TIMEOUT=30
WASTEBIN_SIGNING_KEY=$(openssl rand -hex 32)
WASTEBIN_PASTE_EXPIRATIONS=0,600,3600=d,86400,604800,2419200,29030400
EOF

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@tremor021
Comment options

Answer selected by johnolinda
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants