Changes between Version 2 and Version 3 of UsingStartupItemContext


Ignore:
Timestamp:
Jan 10, 2017, 3:38:51 PM (21 months ago)
Author:
rutsky
Comment:

update "slave" with "worker"

Legend:

Unmodified
Added
Removed
Modified
  • UsingStartupItemContext

    v2 v3  
    1 Similar to UsingLaunchd, this is a way to launch a buildslave on a mac without losing DNS resolution.
     1Similar to UsingLaunchd, this is a way to launch a worker on a mac without losing DNS resolution.
    22
    3 First, write a script that will start the buildslave - in this example, {{{/opt/buildslave/start}}}.  It should be designed to run as root, and to assume the identity of the proper buildslave user.
     3First, write a script that will start the worker - in this example, {{{/opt/worker/start}}}.  It should be designed to run as root, and to assume the identity of the proper worker user.
    44
    55Then, invoke it as
    6   /usr/libexec/StartupItemContext /opt/buildslave/start
     6  /usr/libexec/StartupItemContext /opt/worker/start
    77
    88StartupItemContext can be invoked anywhere, as root - from an SSH connection, or from an automated process such as cron or cfengine.