annotate doc/autostart.txt @ 19:a90e510ccc4f

fix restart/move logs
author Vadim Filimonov <fffilimonov@yandex.ru>
date Mon, 05 Aug 2024 11:29:06 +0300
parents dfc36e7ed22c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
1 Autostart macOS:
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
2
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
3 1) Disable Mac OS SIP
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
4 https://developer.apple.com/library/content/documentation/Security/Conceptual/System_Integrity_Protection_Guide/ConfiguringSystemIntegrityProtection/ConfiguringSystemIntegrityProtection.html
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
5 Ask hosting support.
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
6
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
7 2) Disable buit-in firewall
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
8 sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.pfctl.plist
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
9
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
10 3) Add plists (need sudo password)
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
11 cd macos
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
12 ./addStartupScripts.sh
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
13
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
14 If you need to remove plists use
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
15 cd macos
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
16 ./removeStartupScripts.sh