UniFi Network Controller VM image
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
282 B

  1. #!/sbin/openrc-run
  2. name="unifi"
  3. supervisor=s6
  4. s6_service_path="${RC_SVCDIR}/s6-scan/${name}"
  5. depend() {
  6. need net s6-svscan
  7. after firewall
  8. }
  9. start_pre() {
  10. if [ ! -L "${RC_SVCDIR}/s6-scan/${name}" ]; then
  11. ln -s "/etc/${name}" "${RC_SVCDIR}/s6-scan/${name}"
  12. fi
  13. }