Now based on Alpine Linux and s6 as supervisor, resulting in a much smaller Docker image. See README.md for details and other additions.
This commit is contained in:
3
root/etc/services.d/.s6-svscan/finish
Normal file
3
root/etc/services.d/.s6-svscan/finish
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
exit 0
|
||||
2
root/etc/services.d/nginx/run
Normal file
2
root/etc/services.d/nginx/run
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec nginx
|
||||
2
root/etc/services.d/php/run
Normal file
2
root/etc/services.d/php/run
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec php-fpm
|
||||
7
root/etc/services.d/ttrss-daemon/run
Normal file
7
root/etc/services.d/ttrss-daemon/run
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
while true; do
|
||||
cd /var/www/ttrss
|
||||
php -f /var/www/ttrss/update_daemon2.php
|
||||
sleep 5m
|
||||
done
|
||||
6
root/etc/services.d/ttrss-updater/run
Normal file
6
root/etc/services.d/ttrss-updater/run
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
while true; do
|
||||
/srv/update-ttrss.sh
|
||||
sleep 24h
|
||||
done
|
||||
Reference in New Issue
Block a user