Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2013
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. # foreman-proxy
  2.  
  3. description "foreman-proxyserver"
  4. author "Chuck Short <[email protected]>"
  5.  
  6. start on runlevel [2345]
  7. stop on runlevel [!2345]
  8.  
  9. console output
  10.  
  11. #setuid foreman-proxy
  12. #setgid foreman-proxy
  13. #kill timeout 5
  14.  
  15. # empty expect
  16. # initctl status foreman-proxy:
  17. # foreman-proxy stop/waiting
  18. # exec /usr/share/foreman-proxy/bin/smart-proxy
  19.  
  20.  
  21. expect daemon
  22. # initctl status foreman-proxy
  23. # foreman-proxy start/running, process 1010
  24. # root 1121 1 0 17:08 ? 00:00:00 ruby /usr/share/foreman-proxy/bin/smart-proxy
  25. # exec /usr/share/foreman-proxy/bin/smart-proxy
  26.  
  27.  
  28. #expect fork
  29. # initctl status foreman-proxy
  30. # foreman-proxy start/running, process 1004
  31. # root 1132 1 0 17:14 ? 00:00:00 ruby /usr/share/foreman-proxy/bin/smart-proxy
  32. # exec /usr/share/foreman-proxy/bin/smart-proxy
  33.  
  34. exec /usr/share/foreman-proxy/bin/smart-proxy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement