Created
July 21, 2018 14:16
-
-
Save wildekek/e3868b5f4ee9e67c7b405525dd691944 to your computer and use it in GitHub Desktop.
Launch a boot.sh bash script.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>PATH</key> | |
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:</string> | |
</dict> | |
<key>Label</key> | |
<string>com.startup</string> | |
<key>Program</key> | |
<string>/Users/[YOURNAME]/scripts/boot.sh</string> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>KeepAlive</key> | |
<false/> | |
<key>LaunchOnlyOnce</key> | |
<true/> | |
<key>StandardOutPath</key> | |
<string>/tmp/startup.stdout</string> | |
<key>StandardErrorPath</key> | |
<string>/tmp/startup.stderr</string> | |
<key>UserName</key> | |
<string>admin</string> | |
<key>GroupName</key> | |
<string>admin</string> | |
<key>InitGroups</key> | |
<true/> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment