Last active
December 16, 2015 05:09
-
-
Save kols/5382817 to your computer and use it in GitHub Desktop.
launchd.plist
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/PropertyL | |
ist-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Disabled</key> | |
<true/> | |
<key>KeepAlive</key> | |
<dict> | |
<key>SuccessfulExit</key> | |
<false/> | |
</dict> | |
<key>Label</key> | |
<string>ejabberd</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/sbin/ejabberdctl</string> | |
<string>start</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>UserName</key> | |
<string>Kane</string> | |
<key>WorkingDirectory</key> | |
<string>/usr/local/var/lib/ejabberd</string> | |
</dict> | |
</plist> |
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>KeepAlive</key> | |
<true/> | |
<key>Label</key> | |
<string>godoc</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/go/bin/godoc</string> | |
<string>-http</string> | |
<string>:6060</string> | |
</array> | |
<key>UserName</key> | |
<string>Kane</string> | |
</dict> | |
</plist> |
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 Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>org.smarden.runit</string> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>PATH</key> | |
<string>/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string> | |
</dict> | |
<key>ServiceDescription</key> | |
<string>runsvdir - starts and monitors a collection of runsv(8) processes</string> | |
<key>QueueDirectories</key> | |
<array> | |
<string>/usr/local/var/service</string> | |
</array> | |
<key>KeepAlive</key> | |
<dict> | |
<key>SuccessfulExit</key> | |
<false/> | |
</dict> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/runsvdir</string> | |
<string>-P</string> | |
<string>/usr/local/var/service</string> | |
<string>'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................'</string> | |
</array> | |
<key>UserName</key> | |
<string>kane</string> | |
</dict> | |
</plist> |
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>KeepAlive</key> | |
<true/> | |
<key>Label</key> | |
<string>smartd</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/sbin/smartd</string> | |
<string>--no-fork</string> | |
</array> | |
<key>UserName</key> | |
<string>Kane</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment