stunnel.init 284 B

123456789101112
  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2006-2008 OpenWrt.org
  3. START=90
  4. USE_PROCD=1
  5. start_service() {
  6. procd_open_instance
  7. procd_set_param command /usr/bin/stunnel /etc/stunnel/stunnel.conf
  8. procd_set_param respawn # respawn automatically if something died
  9. procd_close_instance
  10. }