view backup/doc/autostart.txt @ 1758:27a2530f04b6

fix reload nginx from startup script
author Vadim Filimonov <fffilimonov@yandex.ru>
date Mon, 20 Feb 2023 09:02:20 +0200
parents 45eaaf5146f3
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