runit

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit faa51e897790fbd6c52af039d6eb94acae36531d
parent b9dff82cc1f2418d1060b2e4d77f63ad2c58d703
Author: Gerrit Pape <pape@smarden.org>
Date:   Thu, 21 Jul 2005 11:54:33 +0000

  * doc/useinit.html: how to use runit with macosx 10.4 (thx Lars Uffmann).
  * etc/macosx/org.smarden.runit.plist: new; launchd plist file for
    runsvdir-start (thx Lars Uffmann).

Diffstat:
Mdoc/useinit.html | 9+++++++++
Aetc/macosx/org.smarden.runit.plist | 20++++++++++++++++++++
Mpackage/CHANGES | 3+++
3 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/doc/useinit.html b/doc/useinit.html @@ -63,6 +63,15 @@ On MacOSX 10.2 create an entry for <i>runit</i> in # cp -p /package/admin/runit/etc/macosx/StartupItems/* runit/ </pre> and reboot your system. +<p> +On MacOSX 10.4 create an entry for <i>runit</i> in +<tt>/Library/LaunchDaemons/</tt>, and tell <i>launchd</i> to start the +new service: +<pre> + # cp /package/admin/runit/etc/macosx/org.smarden.runit.plist \ + /Library/LaunchDaemons/ + # launchctl load /Library/LaunchDaemons/org.smarden.runit.plist +</pre> <hr> <address><a href="mailto:pape@smarden.org"> Gerrit Pape &lt;pape@smarden.org&gt; diff --git a/etc/macosx/org.smarden.runit.plist b/etc/macosx/org.smarden.runit.plist @@ -0,0 +1,20 @@ +<?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>ServiceDescription</key> + <string>runsvdir - starts and monitors a collection of runsv(8) processes</string> + <key>QueueDirectories</key> + <array> + <string>/var/service</string> + </array> + <key>OnDemand</key> + <false/> + <key>ProgramArguments</key> + <array> + <string>/sbin/runsvdir-start</string> + </array> +</dict> +</plist> diff --git a/package/CHANGES b/package/CHANGES @@ -1,5 +1,8 @@ * man/runsv.8: typo; no longer document the e control character; clarify custom control on d and x. + * doc/useinit.html: how to use runit with macosx 10.4 (thx Lars Uffmann). + * etc/macosx/org.smarden.runit.plist: new; launchd plist file for + runsvdir-start (thx Lars Uffmann). * doc/runscripts.html: don't use absolute pathnames for programs in $PATH; add contributed run scripts (thx Sascha Huedepohl); typos. * runsvchdir.c, runsvstat.c: optimize output buffer handling.