saltstack/salt-api — pull request #114 by sfdc-kho (2013-08-30 18:16:04+00:00)
Title: Fix start/stop in init script

This fixes service start/stop on RHEL hosts (we're running RHEL 6.2). With current init script:

```
-sh-4.1# /sbin/service salt-api start
/etc/init.d/salt-api: line 32: -d: command not found
Starting salt-api daemon: /etc/init.d/salt-api: Usage: daemon [+/-nicelevel] {program}

-sh-4.1# ps -ef | grep salt-api
root 28100 7418 0 18:16 pts/0 00:00:00 grep salt-api
```

With patched script:
```
-sh-4.1# /sbin/service salt-api start
Starting salt-api daemon: [ OK ]
-sh-4.1# /sbin/service salt-api status
salt-api (pid 28118) is running...
-sh-4.1# /sbin/service salt-api stop
Stopping salt-api daemon: [ OK ]
-sh-4.1# ps -ef | grep salt-api
root 28155 7418 0 18:17 pts/0 00:00:00 grep salt-api
```