annotate backup/doc/autostart.txt @ 1812:f44dcb3fedf7

docs - add code block
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 10 Jun 2024 14:41:48 -0600
parents 45eaaf5146f3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1693
45eaaf5146f3 add backup autostart
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
1 Autostart macOS:
45eaaf5146f3 add backup autostart
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
2
45eaaf5146f3 add backup autostart
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
3 1) Disable Mac OS SIP
45eaaf5146f3 add backup autostart
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
45eaaf5146f3 add backup autostart
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
5 Ask hosting support.
45eaaf5146f3 add backup autostart
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
6
45eaaf5146f3 add backup autostart
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
7 2) Disable buit-in firewall
45eaaf5146f3 add backup autostart
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
8 sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.pfctl.plist
45eaaf5146f3 add backup autostart
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
9
45eaaf5146f3 add backup autostart
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
10 3) Add plists (need sudo password)
45eaaf5146f3 add backup autostart
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
11 cd macos
45eaaf5146f3 add backup autostart
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
12 ./addStartupScripts.sh
45eaaf5146f3 add backup autostart
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
13
45eaaf5146f3 add backup autostart
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
14 If you need to remove plists use
45eaaf5146f3 add backup autostart
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
15 cd macos
45eaaf5146f3 add backup autostart
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
16 ./removeStartupScripts.sh