Skip to content
This repository was archived by the owner on Jun 12, 2020. It is now read-only.

added export to restic vars #31

Merged
merged 1 commit into from
Oct 4, 2018
Merged

Conversation

cryptozero
Copy link

restic can't access env vars and cron fails

restic can't access env vars and cron fails
@paulfantom paulfantom merged commit f4ee754 into paulfantom:master Oct 4, 2018
@g7eg10r
Copy link

g7eg10r commented Oct 19, 2018

Hi guys, just facing the opposite issue: on a Debian 8, cron (version 3.0pl1-127+deb8u1) complains about "bad minute" lines within the generated crontab because of the exports and refuses to load it.
It works perfectly (environment variables are propagated to restic) when the export part is removed.
Can you provide more background about why you did that change? Thanks.

@g7eg10r
Copy link

g7eg10r commented Oct 19, 2018

@cryptozero, just saw your commit reverting this change in your repo (cryptozero@452cd79). What about adding a configuration variable that would be used in the template to indicate if environment variables should be exported or not?

paulfantom pushed a commit that referenced this pull request Dec 5, 2018
Make non-root installation possible
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants