Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1161 from rentalita/develop

Restore default status check for Upstart jobs.
  • Loading branch information...
commit 886252797450ce0435012c50700914954b0900ae 2 parents f181a83 + 24a590f
@thatch45 thatch45 authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 salt/modules/
4 salt/modules/
@@ -221,7 +221,9 @@ def status(name, sig=None):
salt '*' service.status <service name>
cmd = 'service {0} status'.format(name)
- return not bool(__salt__['cmd.retcode'](cmd))
+ if _service_is_sysv(name):
+ return not bool(__salt__['cmd.retcode'](cmd))
+ return 'start/running' in __salt__[''](cmd)
def _get_service_exec():
Please sign in to comment.
Something went wrong with that request. Please try again.