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

Missing rcvar field on FreeBSD #391

Open
merlinscholz opened this issue Apr 3, 2024 · 0 comments
Open

Missing rcvar field on FreeBSD #391

merlinscholz opened this issue Apr 3, 2024 · 0 comments

Comments

@merlinscholz
Copy link

merlinscholz commented Apr 3, 2024

When running on FreeBSD, the generated file (/usr/local/etc/rc.d/servicename) does not contain a line for "rcvar". As far as I can tell from the FreeBSD manual at https://man.freebsd.org/cgi/man.cgi?rc.subr(8)

This makes it not possible to automatically start the service on boot. Usually, the value of the variable could be the name of the service in lowercase letters followed by _enable. For example in AdGuard Home:

name="AdGuardHome"
rcvar="adguardhome_enable"
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

No branches or pull requests

1 participant