litespeedtech / openlitespeed

Our high-performance, lightweight, open source HTTP server
https://openlitespeed.org
GNU General Public License v3.0
1.2k stars 194 forks source link

FreeBSD Compatibility: Service Name Change, Arch Command Update, and Symlink Creation for /dev/shm #423

Closed dev-zhandos closed 2 months ago

dev-zhandos commented 2 months ago

Issue Summary

Several changes are required to improve compatibility with FreeBSD. These changes are addressed in Pull Request #422 and include renaming the RC service, updating the command used to get the machine architecture, and creating a symlink for /dev/shm. Each change is necessary to ensure smoother integration and functionality on FreeBSD systems.

These updates have been tested on Debian 12, Rocky Linux 9, and FreeBSD 14.1 to ensure cross-platform functionality.

Changes

  1. Rename RC Service to lsws:

  2. Replace arch with uname -m:

  3. Create Symlink for /dev/shm:

Environment

Additional Information

These changes ensure compatibility with FreeBSD and allow proper service management, architecture detection, and shared memory handling. Without these changes, users may encounter issues related to service management (sysrc errors), architecture detection (missing arch command), and software compatibility (missing /dev/shm).

litespeedtech commented 2 months ago

Thanks!