parent
7ea8743446
commit
2750b4944d
|
@ -10,7 +10,13 @@
|
|||
"httpPort": 8000,
|
||||
"addons": {
|
||||
"localstorage": {},
|
||||
"mysql": {}
|
||||
"mysql": {},
|
||||
"scheduler": {
|
||||
"update_feeds": {
|
||||
"schedule": "*/1 * * * *",
|
||||
"command": "/usr/local/bin/gosu www-data:www-data php /app/code/app/actualize_script.php"
|
||||
}
|
||||
}
|
||||
},
|
||||
"manifestVersion": 1,
|
||||
"website": "http://www.freshrss.org",
|
||||
|
|
6
start.sh
6
start.sh
|
@ -60,12 +60,6 @@ EOF
|
|||
|
||||
chown -R www-data.www-data /run/php /app/data
|
||||
|
||||
echo "Trying to update feeds every 60 secs"
|
||||
while true; do
|
||||
sleep 60
|
||||
sudo -u www-data php /app/code/app/actualize_script.php >/dev/stdout 2>/dev/stderr
|
||||
done &
|
||||
|
||||
echo "Starting apache"
|
||||
APACHE_CONFDIR="" source /etc/apache2/envvars
|
||||
rm -f "${APACHE_PID_FILE}"
|
||||
|
|
Loading…
Reference in New Issue