Commit Graph

67 Commits (542aaa6ffeba88208e1b9b4bc1462a09925b0aab)

Author SHA1 Message Date
trbs 3b2173b6df 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 93fc3391fe 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 85b8538e0e 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 3df2e15277 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 3f8aa8aec5 Fix up some module docs formatting errors. 11 years ago
Michael DeHaan 61ac8d03af Clarify module docs 11 years ago
Michael DeHaan 51ba3d8c3d Merge pull request #3230 from sayap/openrc
Add OpenRC support to the service module.
11 years ago
Yap Sok Ann bcca609bc6 Add OpenRC support to the service module. 11 years ago
Jan-Piet Mens 5c69918d53 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 69d514100c Refine error message. 11 years ago
Michael DeHaan 0b30c74e86 Merge branch 'rc.d-systemd' of git://github.com/glensc/ansible into sysd 11 years ago
Scott Sturdivant b274fb9774 Fixes #2991: Service module pattern argument ignored. 12 years ago
Elan Ruusamäe d3a2b1dbbb no need to init None to None 12 years ago
Elan Ruusamäe 6949a9fbe4 LinuxService: avoid enforcing systemd even if init.d script was found 12 years ago
madema 02e41f3e56 Update service 12 years ago
madema f7c3b73336 Added AIX class in the service module to control AIX SRC processes. 12 years ago
Michael DeHaan 391fb98ee2 Allow modules to be categorized, and also sort them when generating the documentation. 12 years ago