Nms-api-start-services
Jump to navigation
Jump to search
API control
Currently there is no systemd, so all daemons are actually running via the PHP server command directly.
cd /opt/nmsApi/ php -S 0.0.0.0:8002 -t public &
Nothing has been done as far as headers or CORS at this time. This simply starts the API system
Todo
- Build systemd for daemons.
- Use require Apache or Nginx to be active so they can pull via API calls
- Build Apache2 configuration for API
- Build Nginx configuration for API
- Avoid using Apache or Nginx auth tools, as we want a fix for issues to be within the code, not the webserver