Commit Graph

67 Commits (86dd24af92455688275f72f2c7b7e5390ad7aa82)

Author SHA1 Message Date
trbs 0d8da6eeb0 sleep option for service module which adds a pauze between stopping and starting a service using state=restarted. This helps for bad scripts that exist immediatly after signaling a process to stop. 11 years ago
Antti Rasinen c2a4645349 Fix service enable on FreeBSD
Some services have a knob (i.e. rc.conf setting) whose name
differs from that of the script. For example, lockd process
is controlled with a script called lockd, but the rc.conf
value is rpc_lockd_enable.

Fixes issue #3382.
11 years ago
martin f. krafft 3b7b061b07 Expand usage of Python 2.6 if statement
Syntax like "'foo' if bar else 'baz'" is not supported by all Python
versions targetted by Ansible. Hence we break it up.

Signed-off-by: martin f. krafft <madduck@madduck.net>
11 years ago
martin f. krafft 22b30b9281 Let update-rc.d set changed flag properly
When update-rc.d is used to enable/disable service, the changed flag was
always true (see #2189). This commit fixes that.

Signed-off-by: martin f. krafft <madduck@madduck.net>
11 years ago
Michael DeHaan 997bf64f3f Fix up some module docs formatting errors. 11 years ago
Michael DeHaan e4f3c4e286 Clarify module docs 11 years ago
Michael DeHaan f53bc323a5 Merge pull request #3230 from sayap/openrc
Add OpenRC support to the service module.
11 years ago
Yap Sok Ann ec265a98e0 Add OpenRC support to the service module. 11 years ago
Jan-Piet Mens 3404a0fc16 DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
  Added deprecation warning to moduledev.rst and remove deprecated example from it
  Fixed up a few typos and uppercased some acronyms.
  add consistency to how EXAMPLES are formatted
11 years ago
Michael DeHaan e6620cdb9a Refine error message. 11 years ago
Michael DeHaan da1738723a Merge branch 'rc.d-systemd' of git://github.com/glensc/ansible into sysd 11 years ago
Scott Sturdivant 0110b616cb Fixes #2991: Service module pattern argument ignored. 12 years ago
Elan Ruusamäe 52643e2a4d no need to init None to None 12 years ago
Elan Ruusamäe 258cf60924 LinuxService: avoid enforcing systemd even if init.d script was found 12 years ago
madema 57fb97470c Update service 12 years ago
madema 88a4a56889 Added AIX class in the service module to control AIX SRC processes. 12 years ago
Michael DeHaan cd97a4cb14 Allow modules to be categorized, and also sort them when generating the documentation. 12 years ago