mirror of
https://github.com/matze/wastebin.git
synced 2026-04-25 08:36:00 +03:00
[GH-ISSUE #125] Environment options Expirations #79
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/wastebin-matze#79
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @simpsonetti on GitHub (Feb 27, 2025).
Original GitHub issue: https://github.com/matze/wastebin/issues/125
Hi, i'm trying to setup only a few options for the expirations like this here
Environment="WASTEBIN_PASTE_EXPIRATION=600,3600,86400,604800,burn"and i try it after 600=d but none is working.
in README.md there is WASTEBIN_MAX_PASTE_EXPIRATION and this also isn't working.
So am I having some errors or is there an error in this variable?
Regards simpsonetti
@matze commented on GitHub (Feb 27, 2025):
Are you running from source? If not those instructions won't help and you need to refer to
github.com/matze/wastebin@85a519ef90/README.md. If you are running from source:burnis not a valid expiration.@simpsonetti commented on GitHub (Feb 27, 2025):
from here:
https://github.com/community-scripts/ProxmoxVE/blob/main/ct/wastebin.sh
But what's the right name of the environment variable?
@matze commented on GitHub (Feb 27, 2025):
Okay, you seem to be using the last 2.7.1 build, so the previous README.md applies that I linked earlier. In particular there is only the
WASTEBIN_MAX_PASTE_EXPIRATIONvariable available that allows you to restrict the entries but not let you add any new one.@matze commented on GitHub (Mar 1, 2025):
I'll close this. If you have further questions feel free to re-open the ticket.