Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3767095
D2521.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.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
Sat, Nov 23, 22:23 (19 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259037
Default Alt Text
D2521.diff (1004 B)
Attached To
Mode
D2521: Skip runsvdir-start
Attached
Detach File
Event Timeline
Log In to Comment