[PR #883] [MERGED] FreeBSD rc.d service script #1001

Closed
opened 2026-02-27 09:10:33 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/lldap/lldap/pull/883
Author: @n-connect
Created: 3/28/2024
Status: Merged
Merged: 4/22/2024
Merged by: @nitnelave

Base: mainHead: main


📝 Commits (9)

  • 07bf306 FreeBSD rc.d service script
  • ca0bcf9 Merge branch 'main' into main
  • 5b02d08 Update lldap FreeBSD rc.d script comment section
  • b1f2062 Merge branch 'main' into main
  • 966f8df FreeBSD install instructions
  • 97bdb50 Rename to rc.d_lldap
  • aba9bdc Update freebsd-install.md - fix script name in mv
  • afa88ec Update README.md add FreeBSD details
  • 6454e98 Update README.md fix missing .

📊 Changes

3 files changed (+54 additions, -0 deletions)

View changed files

📝 README.md (+9 -0)
example_configs/freebsd/freebsd-install.md (+18 -0)
example_configs/freebsd/rc.d_lldap (+27 -0)

📄 Description

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:

  • app subdir for web content,
  • possible data subdir for other elements
  • and it expects the above sudirs to be in the same folder as the main lldap binary.

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

Note:
When ldap will accept config file parameter speficying the web content dir, this file need to be updated as well.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/lldap/lldap/pull/883 **Author:** [@n-connect](https://github.com/n-connect) **Created:** 3/28/2024 **Status:** ✅ Merged **Merged:** 4/22/2024 **Merged by:** [@nitnelave](https://github.com/nitnelave) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (9) - [`07bf306`](https://github.com/lldap/lldap/commit/07bf30614dbec41ea642ff727349c0ccfc422723) FreeBSD rc.d service script - [`ca0bcf9`](https://github.com/lldap/lldap/commit/ca0bcf9a1140bc101209684ff51c22a9829b9d39) Merge branch 'main' into main - [`5b02d08`](https://github.com/lldap/lldap/commit/5b02d0855f622b8d1f49bc31390aeccb9cd8f48d) Update lldap FreeBSD rc.d script comment section - [`b1f2062`](https://github.com/lldap/lldap/commit/b1f206294709b36104cd53ef8cfb298773543057) Merge branch 'main' into main - [`966f8df`](https://github.com/lldap/lldap/commit/966f8df47ea9c65751e4c489d5a883868b55710f) FreeBSD install instructions - [`97bdb50`](https://github.com/lldap/lldap/commit/97bdb50e8421801cf2b94476fddd6cfae2ce2954) Rename to rc.d_lldap - [`aba9bdc`](https://github.com/lldap/lldap/commit/aba9bdce07b9cb3e4368ae0f547731c6179df9e5) Update freebsd-install.md - fix script name in mv - [`afa88ec`](https://github.com/lldap/lldap/commit/afa88ecb6226eca9ded03c7f4919d0ddc4e66cf3) Update README.md add FreeBSD details - [`6454e98`](https://github.com/lldap/lldap/commit/6454e982ada9fa0428f85244f516b50c71068c1b) Update README.md fix missing . ### 📊 Changes **3 files changed** (+54 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+9 -0) ➕ `example_configs/freebsd/freebsd-install.md` (+18 -0) ➕ `example_configs/freebsd/rc.d_lldap` (+27 -0) </details> ### 📄 Description Follow-up after closing PR #856 to have this service script independently. Manual/local **lldap FreeBSD build** available [here](https://github.com/n-connect/rustd-hbbx/blob/main/x86_64-freebsd_lldap-0.5.1.tar.gz) The script in its actual form takes into consideration, that lldap release has a complete structure: - app subdir for web content, - possible data subdir for other elements - and it expects the above sudirs to be in the same folder as the main lldap binary. 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` Note: When ldap will accept config file parameter speficying the web content dir, this file need to be updated as well. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 09:10:33 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#1001
No description provided.