#!/bin/bash # run everything in start.d find /start.d -type f -executable -exec {} \; chown nexus /nexus # start services exec supervisord