summaryrefslogtreecommitdiff
path: root/examples/openrc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/openrc')
-rw-r--r--examples/openrc/httpd-4.initd4
-rw-r--r--examples/openrc/httpd-6.initd4
-rw-r--r--examples/openrc/httpsd-4.initd4
-rw-r--r--examples/openrc/httpsd-6.initd4
4 files changed, 8 insertions, 8 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
diff --git a/examples/openrc/httpd-6.initd b/examples/openrc/httpd-6.initd
index 5b8a4cb..f53f38f 100644
--- a/examples/openrc/httpd-6.initd
+++ b/examples/openrc/httpd-6.initd
@@ -6,8 +6,8 @@ _ip=::
_uid=`id -u www-data`
_gid=`id -g www-data`
-command=/bin/env
-command_args="UID=${_uid} GID=${_gid} s6-tcpserver6 -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-6.pid
diff --git a/examples/openrc/httpsd-4.initd b/examples/openrc/httpsd-4.initd
index 0586286..a943c27 100644
--- a/examples/openrc/httpsd-4.initd
+++ b/examples/openrc/httpsd-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} KEYFILE=/etc/acme/private/examplecom-key.pem CERTFILE=/etc/acme/examplecom-cert.pem s6-tlsserver -e -U ${_ip} 443 tipideed"
+command=/usr/bin/env
+command_args="UID=${_uid} GID=${_gid} KEYFILE=/etc/acme/private/examplecom-key.pem CERTFILE=/etc/acme/examplecom-cert.pem s6-tlsserver -U ${_ip} 443 tipideed"
command_background=yes
directory=/home/www-data
pidfile=/run/httpsd-4.pid
diff --git a/examples/openrc/httpsd-6.initd b/examples/openrc/httpsd-6.initd
index 3c80105..a76b8a3 100644
--- a/examples/openrc/httpsd-6.initd
+++ b/examples/openrc/httpsd-6.initd
@@ -6,8 +6,8 @@ _ip=::
_uid=`id -u www-data`
_gid=`id -g www-data`
-command=/bin/env
-command_args="UID=${_uid} GID=${_gid} KEYFILE=/etc/acme/private/examplecom-key.pem CERTFILE=/etc/acme/examplecom-cert.pem s6-tlsserver -e -U ${_ip} 443 tipideed"
+command=/usr/bin/env
+command_args="UID=${_uid} GID=${_gid} KEYFILE=/etc/acme/private/examplecom-key.pem CERTFILE=/etc/acme/examplecom-cert.pem s6-tlsserver -U ${_ip} 443 tipideed"
command_background=yes
directory=/home/www-data
pidfile=/run/httpsd-6.pid