#!/sbin/openrc-run name="httpd-4" description="tipidee for HTTP on ipv4" _ip=0.0.0.0 _uid=`id -u www-data` _gid=`id -g www-data` command=/usr/bin/env command_args="UID=${_uid} GID=${_gid} s6-tcpserver -U ${_ip} 80 tipideed" command_background=yes directory=/home/www-data pidfile=/run/httpd-4.pid error_log=/run/httpd-4.fifo error_logger="logger -t httpd-4" depend() { need net localmount } start_pre() { mkfifo -m 0600 /run/httpd-4.fifo || : }