diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2011-05-10 11:24:28 -0500 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2011-05-10 11:24:28 -0500 |
commit | 0e75875e9bd9900a6a3c7ab118c448e48829eaef (patch) | |
tree | 391204747f48598c4e978d3724afbd5b8aa1d12c /doc/client/tools.txt | |
parent | f2d218ccd2de93ef639347933ba127ef081b4401 (diff) | |
parent | 91634f9a3b888eee3cd5f9a777fcb075fc666c9a (diff) | |
download | bcfg2-0e75875e9bd9900a6a3c7ab118c448e48829eaef.tar.gz bcfg2-0e75875e9bd9900a6a3c7ab118c448e48829eaef.tar.bz2 bcfg2-0e75875e9bd9900a6a3c7ab118c448e48829eaef.zip |
Merge branch 'master' of git.mcs.anl.gov:bcfg2
Diffstat (limited to 'doc/client/tools.txt')
-rw-r--r-- | doc/client/tools.txt | 37 |
1 files changed, 28 insertions, 9 deletions
diff --git a/doc/client/tools.txt b/doc/client/tools.txt index d9a9b76f4..bedcb9ab9 100644 --- a/doc/client/tools.txt +++ b/doc/client/tools.txt @@ -57,11 +57,15 @@ Chkconfig Tool to manage services (primarily on Redhat based distros). -.. note:: Start and stop are standard arguments, but the one for reload - isn't consistent across services. You can specify which argument - to use with the `restart` property in Service tags. Example: - ``<Service name="ftp" restart="condrestart" status="on" - type="chkconfig">`` +.. note:: + + Start and stop are standard arguments, but the one for reload + isn't consistent across services. You can specify which argument + to use with the ``target`` attribute in Service tags. Example: + + .. code-block:: xml + + <Service name="ftp" target="condrestart" status="on" type="chkconfig"/> DebInit ------- @@ -89,9 +93,13 @@ launchd Mac OS X Services. To use this tool, you must maintain a standard launch daemon .plist file in ``/Library/LaunchDaemons/`` (example ssh.plist) -and setup a ``<Service name="com.openssh.sshd" type="launchd" status="on" -/>`` entry in your config to load or unload the service. Note the name -is the ''Label'' specified inside of the .plist file +and setup an entry in your config to load or unload the service. + +.. code-block:: xml + + <Service name="com.openssh.sshd" type="launchd" status="on"/> + +Note the name is the *Label* specified inside of the .plist file Portage ------- @@ -133,7 +141,18 @@ Example legacy run service (lrc): .. code-block:: xml - <BoundService name='/etc/rc2_d/S47pppd' FMRI='lrc:/etc/rc2_d/S47pppd' status='off' type='smf'/> + <Service name='/etc/rc2_d/S47pppd' FMRI='lrc:/etc/rc2_d/S47pppd' status='off' type='smf'/> + +Systemd +------- + +Systemd service support. + +Example: + +.. code-block:: xml + + <Service name='udev' status='on' type='systemd'/> SYSV ---- |