diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-10-24 14:35:44 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-10-24 14:35:44 +0000 |
commit | 1e281512e672fe832317a57cb05df0c965db6d13 (patch) | |
tree | 19cdcf9aa0aee03a015feec6fee068512b97ee8e /examples/openrc | |
parent | bf90fbf8686fe7e0ea9b86fd13457e860a8ab89d (diff) | |
download | tipidee-1e281512e672fe832317a57cb05df0c965db6d13.tar.xz |
Fix examples
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'examples/openrc')
-rw-r--r-- | examples/openrc/httpd-4.initd | 4 | ||||
-rw-r--r-- | examples/openrc/httpd-6.initd | 4 | ||||
-rw-r--r-- | examples/openrc/httpsd-4.initd | 4 | ||||
-rw-r--r-- | examples/openrc/httpsd-6.initd | 4 |
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 |