You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
227 B
13 lines
227 B
7 years ago
|
#!/bin/sh
|
||
|
|
||
|
php -f ./cli/prepare.php > /dev/null
|
||
|
|
||
|
chown -R :www-data .
|
||
|
chmod -R g+r . && chmod -R g+w ./data/
|
||
|
|
||
|
if [ -n "$CRON_MIN" ]; then
|
||
|
sed -r -i "/FreshRSS/s/^[^ ]+ /$CRON_MIN /" /var/spool/cron/crontabs/root
|
||
|
fi
|
||
|
|
||
|
exec "$@"
|