Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OPENHAB_BACKUPS environment variable #76

Merged
merged 2 commits into from Sep 25, 2017

Conversation

BClark09
Copy link
Member

@BClark09 BClark09 commented Aug 4, 2017

To be merged after openhab/openhab-distro#507

Signed-off-by: Ben Clark ben@benjyc.uk

Signed-off-by: Ben Clark <ben@benjyc.uk>
# runtime/bin/backup and runtime/bin/restore will use this path for the zip files.
#
#OPENHAB_BACKUPS=/var/lib/openhab2/backups
#
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wondering if you want to move the EXTRA_JAVA_OPTS section to the bottom. Seems weird, that the file starts with that detail.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've left it at the top mainly because it's more likely for someone to want to edit it than any of the paths.

OPENHAB_BACKUPS however, would be a very commonly used variable, so perhaps it should be:

OPENHAB_BACKUPS
OPENHAB_USER
OPENHAB_GROUP

EXTRA_JAVA_OPTS

OPENHAB_STARTMODE

OPENHAB_*

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jup 👍

Signed-off-by: Ben Clark <ben@benjyc.uk>
@BClark09
Copy link
Member Author

BClark09 commented Aug 9, 2017

How about that? I kept USER and GROUP where it was because I wouldn't want to encourage anything other than openhab:openhab.

@BClark09 BClark09 merged commit 9e41f40 into openhab:master Sep 25, 2017
@BClark09 BClark09 deleted the backup-restore branch September 25, 2017 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants