[GH-ISSUE #125] Environment options Expirations #79

Closed
opened 2026-02-27 10:15:38 +03:00 by kerem · 4 comments
Owner

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

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
kerem closed this issue 2026-02-27 10:15:38 +03:00
Author
Owner

@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: burn is not a valid expiration.

<!-- gh-comment-id:2688288998 --> @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 https://github.com/matze/wastebin/blob/85a519ef9079c4618f851cce575b5a84334a6f42/README.md. If you are running from source: `burn` is not a valid expiration.
Author
Owner

@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?

<!-- gh-comment-id:2688774310 --> @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?
Author
Owner

@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_EXPIRATION variable available that allows you to restrict the entries but not let you add any new one.

<!-- gh-comment-id:2689302697 --> @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_EXPIRATION` variable available that allows you to restrict the entries but not let you add any new one.
Author
Owner

@matze commented on GitHub (Mar 1, 2025):

I'll close this. If you have further questions feel free to re-open the ticket.

<!-- gh-comment-id:2692266073 --> @matze commented on GitHub (Mar 1, 2025): I'll close this. If you have further questions feel free to re-open the ticket.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wastebin-matze#79
No description provided.