Switch to s6 instead of supervisor
Further reduces the images size from 100.2MB to 59.97MBpull/31/head
parent
1de5eb7a1d
commit
717fbe4264
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec /usr/sbin/nginx
|
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec /usr/bin/php-fpm --nodaemonize
|
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec s6-setuidgid nobody /usr/bin/php /var/www/update_daemon2.php
|
@ -1,15 +0,0 @@
|
||||
[supervisord]
|
||||
nodaemon=true
|
||||
|
||||
[program:php-fpm]
|
||||
command=/usr/bin/php-fpm --nodaemonize
|
||||
|
||||
[program:nginx]
|
||||
command=/usr/sbin/nginx
|
||||
|
||||
[program:ttrss-update-daemon]
|
||||
command=/usr/bin/php /var/www/update_daemon2.php
|
||||
user=nobody
|
||||
stdout_logfile=/tmp/%(program_name)s.stdout
|
||||
stderr_logfile=/tmp/%(program_name)s.stderr
|
||||
|
Loading…
Reference in New Issue