The systemd module neither has reload-or-restart option.
In the service action we should use it too the reload-or-restart option, because in Unix, the systemd automatic detects if we have a systemd unit or not, and redirect to systemctl appropiately.
No, the service action is the 'lowest common denominator' for
services, it should not have something specific to systemd as it will
break with other service plugins (sysvinit, upstart, rc.d, etc).
The systemd module does not currently support it, but it does make
sense to add it there.
No, the service action is the 'lowest common denominator' for
services, it should not have something specific to systemd as it will
break with other service plugins (sysvinit, upstart, rc.d, etc).
The systemd module does not currently support it, but it does make
sense to add it there.
the 'service' module is not he same as the 'service' command, the
'service' command is not the same across distributions, it is not even
guaranteed to be present. Those that do have a 'service' command that
are not controlled by systemd do not have the same behaviour as you
show above.