annotate host/doc/autostart.txt @ 1648:224af797b1f9

Mainly small install script improvements - Consistent usage of `$LUANHOME`, removed reliance on current directory. - Made Luan build and install fine (on Linux) without requiring launching it via sudo. Only asks to elevate privileges if installation failed. - Minor spelling mistake fix.
author Fox
date Mon, 28 Mar 2022 18:00:12 +0200
parents fd3d56f39450
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1632
0344a535b1db add doc
fffilimonov
parents:
diff changeset
1 Autostart macOS:
0344a535b1db add doc
fffilimonov
parents:
diff changeset
2
0344a535b1db add doc
fffilimonov
parents:
diff changeset
3 1) Disable Mac OS SIP
0344a535b1db add doc
fffilimonov
parents:
diff changeset
4 https://developer.apple.com/library/content/documentation/Security/Conceptual/System_Integrity_Protection_Guide/ConfiguringSystemIntegrityProtection/ConfiguringSystemIntegrityProtection.html
0344a535b1db add doc
fffilimonov
parents:
diff changeset
5 Ask hosting support.
0344a535b1db add doc
fffilimonov
parents:
diff changeset
6
0344a535b1db add doc
fffilimonov
parents:
diff changeset
7 2) Disable buit-in firewall
0344a535b1db add doc
fffilimonov
parents:
diff changeset
8 sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.pfctl.plist
0344a535b1db add doc
fffilimonov
parents:
diff changeset
9
0344a535b1db add doc
fffilimonov
parents:
diff changeset
10 3) Add plists (need sudo password)
1635
fd3d56f39450 rearrange startup files
Franklin Schmidt <fschmidt@gmail.com>
parents: 1632
diff changeset
11 cd macos
1632
0344a535b1db add doc
fffilimonov
parents:
diff changeset
12 ./addStartupScripts.sh
0344a535b1db add doc
fffilimonov
parents:
diff changeset
13
0344a535b1db add doc
fffilimonov
parents:
diff changeset
14 If you need to remove plists use
1635
fd3d56f39450 rearrange startup files
Franklin Schmidt <fschmidt@gmail.com>
parents: 1632
diff changeset
15 cd macos
1632
0344a535b1db add doc
fffilimonov
parents:
diff changeset
16 ./removeStartupScripts.sh