view host/doc/autostart.txt @ 2156:d2e2bb4ad044 nginx_sites_addon

move error_log directive from nginx.default.conf.luan to nginx.conf.luan
author Violet7
date Tue, 27 Jan 2026 19:44:35 -0800
parents fd3d56f39450
children
line wrap: on
line source

Autostart macOS:

1) Disable Mac OS SIP
  https://developer.apple.com/library/content/documentation/Security/Conceptual/System_Integrity_Protection_Guide/ConfiguringSystemIntegrityProtection/ConfiguringSystemIntegrityProtection.html
  Ask hosting support.

2) Disable buit-in firewall
  sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.pfctl.plist

3) Add plists (need sudo password)
  cd macos
  ./addStartupScripts.sh

If you need to remove plists use
  cd macos
  ./removeStartupScripts.sh