Typo
This commit is contained in:
parent
0d00f566cc
commit
6b26c02a51
3
setup.sh
3
setup.sh
@ -36,7 +36,8 @@ install_launchd() {
|
|||||||
SERVICE_FILE="com.$USER.$NAME.plist"
|
SERVICE_FILE="com.$USER.$NAME.plist"
|
||||||
SERVICE_DIR="/Library/LaunchAgents/"
|
SERVICE_DIR="/Library/LaunchAgents/"
|
||||||
sudo cp -r "$SERVICE_FILE" "$SERVICE_DIR"/
|
sudo cp -r "$SERVICE_FILE" "$SERVICE_DIR"/
|
||||||
sudo chmod 644 "$SERVICE_DIR"/"$SERVICE_FILE"
|
sudo chown root:wheel "$SERVICE_DIR"/"$SERVICE_FILE"
|
||||||
|
sudo chmod 600 "$SERVICE_DIR"/"$SERVICE_FILE"
|
||||||
sudo launchctl load "$SERVICE_FILE"
|
sudo launchctl load "$SERVICE_FILE"
|
||||||
echo "Installed launchd job."
|
echo "Installed launchd job."
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user