Splux Linux

source-based Linux using SPS

SPS · log · files · refs · tags · releases · people · languages · GitHub · file

lib/setup/sv/openrc/nginx


OpenRC runscript

196 bytes at 2909919 · GitHub

#!/sbin/openrc-run
description="nginx HTTP server"
command="/usr/bin/nginx"
command_args="-g daemon off;"
command_background="yes"
pidfile="/run/nginx.pid"

depend() {
    use net
    after net
}