mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
6c3af4df81
By default, the service module had assumed that if the system had the update-rc.d binary, the service was either managed via upstart or standard sysV init-style scripts. This patch adds a check for systemctl ahead of the other methods when update-rc.d is detected, and also simplifies the logic around the detection of systemctl-managed services |
||
---|---|---|
.. | ||
cloud | ||
commands | ||
database | ||
files | ||
internal | ||
inventory | ||
messaging | ||
monitoring | ||
net_infrastructure | ||
network | ||
notification | ||
packaging | ||
source_control | ||
system | ||
utilities | ||
web_infrastructure |