diff options
-rw-r--r-- | www-misc/slowcgi/Manifest | 4 | ||||
-rw-r--r-- | www-misc/slowcgi/files/slowcgi.confd | 3 | ||||
-rw-r--r-- | www-misc/slowcgi/files/slowcgi.initd | 3 |
3 files changed, 5 insertions, 5 deletions
diff --git a/www-misc/slowcgi/Manifest b/www-misc/slowcgi/Manifest index 94bf59a..f68200c 100644 --- a/www-misc/slowcgi/Manifest +++ b/www-misc/slowcgi/Manifest @@ -1,4 +1,4 @@ -AUX slowcgi.confd 66 BLAKE2B 3c2915a7fb5c8573b6893179a973a491ce502f757e90f0c1a758f6cc4131dbea43394e64a5c6442aa6542535ca1a859fdef85f67d1e1e0548049d6a507186387 SHA512 7eaa94c3a30f886427466f65e5b86244295e1aca790a0e6b5e6932cbfa68bbc0809e68d6dbddc4521f3d4bf330822746de06055e844813493a5340db040f960f -AUX slowcgi.initd 250 BLAKE2B bc4da30f282896926dc374a169f6d4ef35525022e0864fcd778cbcdddfe701cc08bde8e385584123ac61a8c56b4711c07579fc7e791b0e98592a10844ff07779 SHA512 343ccfe9ea3d2bec667bd9ba4c7816041ff49f6e2894d447cf6dc0faad4d597fb72cb8afc53122bf5585e772ca2083bd8d6dd395fc513fc0a03039a9f352073f +AUX slowcgi.confd 141 BLAKE2B 7b2880ddcbd1cb4e9976925d8f01085e26323edc4c33d292ed472eee2268134672967246e7fc520aec252e0be439fc6b4b462af1a83dbd7009cfea1d62f8958e SHA512 4b255b338a873f830ac569c04e19a35d2e069abb9bd593657f97651f582158139a2d9fb187446c97dede0d436699fdefa6648034403a240bcebb0a6ea9a9b2c6 +AUX slowcgi.initd 297 BLAKE2B 8df735426642b5ffe7dc818fd0d06c01f40b995264f1b7dc0870c3641088937b7dcda08849e6c0cd4fa9fd6d07558a40d9b0753dd66a5dbcd6b9880e0ccfcc81 SHA512 28dbb42caa486e06560b5756f7572a85f553612f72ed68f450915f54bc7446de9891efcb03bafb59ad1be20df5e7c5d14dc27530d5e9f4551f7badd545eca19d EBUILD slowcgi-6.7-r1.ebuild 549 BLAKE2B 43bb570eca68325c0e9e3a6b71ce2f7845b0e0323f1951ed80c9d3fa7fbb4bcb43e6ff6bc92d1590fab1cb72c49a42aa338050f31621b419037d6b0786f4bcc3 SHA512 26bbeb68aad343c4b569d726cdbd246294d10bd3484404835997332395af6fbf0a41fc07fb06f6747ce63b4484475897a23c976c4ca3f1aab5930e58d51d505d MISC metadata.xml 223 BLAKE2B 2c1cd83f1f1d25a43ea978cd66b5c9f6020889613dfaed65d6745858a45d4bf50fda775305420e41c36cafd63d63746ed894411acbced66ab8ae04906dfb8592 SHA512 4f71eacfeb2b21a4ea746ce1663777937b920e942c94eef1fe93c3557e207c9fdb2569369d56637cba563dc50179d62195db6225123ecfedc303600b8a0bb49b diff --git a/www-misc/slowcgi/files/slowcgi.confd b/www-misc/slowcgi/files/slowcgi.confd index 8cef8a4..861fff1 100644 --- a/www-misc/slowcgi/files/slowcgi.confd +++ b/www-misc/slowcgi/files/slowcgi.confd @@ -1 +1,2 @@ -SLOWCGI_OPTS="-d -p / -s /run/slowcgi.sock -U slowcgi -u slowcgi" +# To change the directory slowcgi will chroot(2) into, set SLOWCGI_CHROOT. +# If unset, slowcgi will use /, effectively disabling the chroot. diff --git a/www-misc/slowcgi/files/slowcgi.initd b/www-misc/slowcgi/files/slowcgi.initd index 8c983f9..1aff8fb 100644 --- a/www-misc/slowcgi/files/slowcgi.initd +++ b/www-misc/slowcgi/files/slowcgi.initd @@ -2,8 +2,7 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -name="${RC_SVCNAME}" command="slowcgi" -command_args="${SLOWCGI_OPTS}" +command_args="-d -p \"${SLOWCGI_CHROOT:-/}\" -s \"/run/${RC_SVCNAME}.sock\" -U slowcgi -u slowcgi" command_background=yes pidfile="/run/${RC_SVCNAME}.pid" |