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

FreeBSD service scripts and configurations are overwritten #40

Closed
hannesm opened this issue Dec 2, 2023 · 2 comments · May be fixed by #41
Closed

FreeBSD service scripts and configurations are overwritten #40

hannesm opened this issue Dec 2, 2023 · 2 comments · May be fixed by #41

Comments

@hannesm
Copy link
Contributor

hannesm commented Dec 2, 2023

since cce53a1 the jail.conf and load.sh and a builder_worker.sh are installed to /usr/local/etc/builder -- but sadly they overwrite potentially existing files. this is bad and should be revised to avoid losing the configuration.

@reynir
Copy link
Contributor

reynir commented Dec 4, 2023

If I remember correctly the way to install default configuration / script foo is to install it as foo.sample. I don't think there is a way to mark a file as configuration (i.e. "only replace this file if it's unmodified since install" or so).

@hannesm
Copy link
Contributor Author

hannesm commented Dec 4, 2023

already dealt with in #37

@hannesm hannesm closed this as completed Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants