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 rc.d service script #883
Conversation
An rc.d service script
Sorry for the late review. I feel that all of the comments in this PR (assumptions, how-to and so on) should be in that file as comments. WDYT? |
No problem, just looking the almost happened stuff around xz noone should do do changes just for the sake of speed.
Could be, or we can put into the PR detailed description. Both good from my side. If the other things works out we can remove it later. |
I just think that most people are going to look at the file, not the PR, and will miss the assumptions. It'll be more discoverable to include it in the file itself. |
Adding the below into the script too Use: extract (the future) FreeBSD release package into /usr/local/ -> so your files will be under /usr/local/lldap_server/ save/copy this rc.d script file into /usr/local/etc/rc.d/ finally cat lldap_enable=YES >> /etc/rc.conf the service script set to run the lldap server as "www" user - make sure the whole lldap_server directory is accessible/runnable by "www". Simplest to run chown -R www:www /usr/local/lldap_server
Yepp, done - check it out both the PR description and the rc.d file has the info |
Sorry for the delay in reviewing! Life got in the way |
No worries. |
Update and rename example_configs/lldap to example_configs/freebsd/rc.d_lldap
Looks good! Can you add a link in the readme? Maybe the installation section. |
It's there, check it |
Thanks a lot, merged! |
Follow-up after closing PR #856 to have this service script independently. Manual/local lldap FreeBSD build available here
The script in its actual form takes into consideration, that lldap release has a complete structure:
Use:
cat lldap_enable=YES >> /etc/rc.conf
chown -R www:www /usr/local/lldap_server
Note:
When ldap will accept config file parameter speficying the web content dir, this file need to be updated as well.