summaryrefslogtreecommitdiff
path: root/examples/openrc/httpd-4.initd
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-10-24 14:35:44 +0000
committerLaurent Bercot <ska@appnovation.com>2023-10-24 14:35:44 +0000
commit1e281512e672fe832317a57cb05df0c965db6d13 (patch)
tree19cdcf9aa0aee03a015feec6fee068512b97ee8e /examples/openrc/httpd-4.initd
parentbf90fbf8686fe7e0ea9b86fd13457e860a8ab89d (diff)
downloadtipidee-1e281512e672fe832317a57cb05df0c965db6d13.tar.xz
Fix examples
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'examples/openrc/httpd-4.initd')
-rw-r--r--examples/openrc/httpd-4.initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/openrc/httpd-4.initd b/examples/openrc/httpd-4.initd
index c3024f3..77d4efb 100644
--- a/examples/openrc/httpd-4.initd
+++ b/examples/openrc/httpd-4.initd
@@ -6,8 +6,8 @@ _ip=0.0.0.0
_uid=`id -u www-data`
_gid=`id -g www-data`
-command=/bin/env
-command_args="UID=${_uid} GID=${_gid} s6-tcpserver4 -U ${_ip} 80 s6-tcpserver-access tipideed"
+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