Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3929922
D2521.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1004 B
Referenced Files
None
Subscribers
None
D2521.id.diff
View Options
diff --git a/Dockerfile b/Dockerfile
--- a/Dockerfile
+++ b/Dockerfile
@@ -114,4 +114,4 @@
EXPOSE 80
EXPOSE 443
-CMD ["/usr/local/sbin/runsvdir-init"]
+CMD ["/usr/bin/runsvdir", "-P", "/etc/service"]
diff --git a/files/etc/service/nginx/run b/files/etc/service/nginx/run
--- a/files/etc/service/nginx/run
+++ b/files/etc/service/nginx/run
@@ -1,4 +1,3 @@
#!/bin/bash
exec 2>&1
-source /usr/local/etc/envvars
exec /usr/sbin/nginx
diff --git a/files/etc/service/php-fpm/run b/files/etc/service/php-fpm/run
--- a/files/etc/service/php-fpm/run
+++ b/files/etc/service/php-fpm/run
@@ -1,5 +1,4 @@
#!/bin/bash
exec 2>&1
-source /usr/local/etc/envvars
php-fpm-env > /usr/local/etc/php-fpm-env.conf
exec /usr/local/sbin/php-fpm --nodaemonize
diff --git a/files/usr/local/sbin/runsvdir-init b/files/usr/local/sbin/runsvdir-init
deleted file mode 100755
--- a/files/usr/local/sbin/runsvdir-init
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-export > /usr/local/etc/envvars
-exec /usr/sbin/runsvdir-start
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 11:27 (4 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2312386
Default Alt Text
D2521.id.diff (1004 B)
Attached To
Mode
D2521: Skip runsvdir-start
Attached
Detach File
Event Timeline
Log In to Comment