Advertisement
Guest User

Untitled

a guest
Nov 15th, 2013
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. [root@qwerty ~]# service supervisord status
  2. unix:///var/run/supervisor.sock no such file
  3.  
  4. [root@qwerty ~]# cat /home/pristine/code/deploy-tools/salt/state/supervisor/test.sls
  5. supervisord:
  6. service.running:
  7. - enable: True
  8.  
  9. [root@qwerty ~]# salt-call --local state.sls supervisor.test
  10. [INFO ] Executing command 'ps -efH' in directory '/root'
  11. [INFO ] Loading fresh modules for state activity
  12. [INFO ] Executing state service.running for supervisord
  13. [INFO ] Executing command '/sbin/service supervisord status' in directory '/root'
  14. [INFO ] Executing command '/sbin/chkconfig --list supervisord' in directory '/root'
  15. [INFO ] Executing command '/sbin/runlevel' in directory '/root'
  16. [INFO ] Service supervisord is already enabled, and is in the desired state
  17. local:
  18. ----------
  19. State: - service
  20. Name: supervisord
  21. Function: running
  22. Result: True
  23. Comment: Service supervisord is already enabled, and is in the desired state
  24. Changes:
  25.  
  26. Summary
  27. ------------
  28. Succeeded: 1
  29. Failed: 0
  30. ------------
  31. Total: 1
  32.  
  33. [root@qwerty ~]# service supervisord status
  34. unix:///var/run/supervisor.sock no such file
  35.  
  36. [root@qwerty ~]# service supervisord start
  37. Starting supervisord:
  38. sentry-web STARTING
  39.  
  40. [root@qwerty ~]# service supervisord status
  41. sentry-web RUNNING pid 26555, uptime 0:00:02
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement