Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@qwerty ~]# service supervisord status
- unix:///var/run/supervisor.sock no such file
- [root@qwerty ~]# cat /home/pristine/code/deploy-tools/salt/state/supervisor/test.sls
- supervisord:
- service.running:
- - enable: True
- [root@qwerty ~]# salt-call --local state.sls supervisor.test
- [INFO ] Executing command 'ps -efH' in directory '/root'
- [INFO ] Loading fresh modules for state activity
- [INFO ] Executing state service.running for supervisord
- [INFO ] Executing command '/sbin/service supervisord status' in directory '/root'
- [INFO ] Executing command '/sbin/chkconfig --list supervisord' in directory '/root'
- [INFO ] Executing command '/sbin/runlevel' in directory '/root'
- [INFO ] Service supervisord is already enabled, and is in the desired state
- local:
- ----------
- State: - service
- Name: supervisord
- Function: running
- Result: True
- Comment: Service supervisord is already enabled, and is in the desired state
- Changes:
- Summary
- ------------
- Succeeded: 1
- Failed: 0
- ------------
- Total: 1
- [root@qwerty ~]# service supervisord status
- unix:///var/run/supervisor.sock no such file
- [root@qwerty ~]# service supervisord start
- Starting supervisord:
- sentry-web STARTING
- [root@qwerty ~]# service supervisord status
- sentry-web RUNNING pid 26555, uptime 0:00:02
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement