Advertisement
Guest User

Mike - OpenRC

a guest
Jan 17th, 2017
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. Kris, Allan, et.al,
  2.  
  3. Since the move to OpenRC, I'm hoping you can talk a little bit about it in the next episode? I've been trying to work around / with some of the issues, including *missing* start/stop scripts for special services. For example, `service nginx status` states there is no nginx service. The init script for nginx certainly exists in /usr/local/etc/rc.d/nginx, but not in init.d/nginx.
  4. I've taken the time (about 20 mins) to re-write the script for openrc. I think i'm getting pretty good at it.
  5. However, is there something i'm missing? I ran into a thread talking about this same issue, but i feel like there should be something that would work around this -- or do all the init scripts really need to be re-written / translated to work with OpenRC?
  6.  
  7. https://gist.github.com/c0psrul3/06ebc274733449258ba5f74b9eacaf32
  8.  
  9. If this _is_ what will / needs to happen, could you please point me in the direction of how to write these *correctly*? I'm happy to share the work i've done, take these if you'd like.
  10.  
  11. I have one for Logstash coming up, but haven't finished testing.
  12.  
  13.  
  14. I have a few here, maybe they will help others:
  15. https://gist.github.com/c0psrul3/210d255e389b195c4433238b1961bee1
  16. https://gist.github.com/c0psrul3/8b00e35861cabf46fb3401e6428e8378
  17.  
  18. Thanks!!
  19. Mike
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement