[BUG] service.running doesn't trigger systemctl daemon-reload as expected #57606
Labels
Bug
broken, incorrect, or confusing behavior
Documentation
Relates to Salt documentation
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
time-estimate-sprint
Milestone
Description
Changing a .service file (ubuntu 18.04) does not trigger a daemon-reload.
Setup
Expected behavior
I would fully expect a
systemctl daemon-reload
to be run before restarting the service here.Logs
debug logs
Versions Report
salt --versions-report
salt-call --versions-report
Additional context
It looks like if I specify
.service
in theservice.running
stanza it does the right thing.But I still think this is a bug, especially since all the examples I could find using
service.running
only say something likenginx
, notnginx.service
.If I specify:
Then I get the following:
and things seem to be working fine. I still believe that the behavior should be identical whether or not
.service
is specified.Thanks!
Alexis
The text was updated successfully, but these errors were encountered: