Specify multiple LaunchDaemon scripts


Computer Configuration > Policies > Centrify Settings > Mac OS X Settings > Scripts (launchDaemons) > Specify multiple LaunchDaemon scripts


Enable this group policy to specify multiple scripts to run automatically when launchd starts (system boot up).

The scripts you specify run simultaneously in no particular order.

Before enabling this policy, you should create the scripts and copy them to the system volume (sysvol) on the domain controller. By default, the LaunchDaemon scripts are stored in the system volume (SYSVOL) on the domain controller in the directory:


After enabling this policy, click Add and enter the following information:

  • Script: The name of the script and an optional path, which are relative to \\domain\SYSVOL\domain\scripts\.

    For example, if the domain name is ajax.org and you enter a script name of startup.sh, the script that gets executed on the domain controller is:


    You can specify additional relative directories in the path, if needed; for example, if you type sub\mlogin.sh, the file that gets executed is:

  • Parameters: An optional set of arguments to pass to the script. These arguments are interpreted the same way as in a UNIX shell; that is, space is a delimiter, and backslash is an escape character. For example:

    arg1 arg2 arg3 
    arg1 'a r g 2' arg3