mirror of
https://github.com/linuxserver/docker-cops.git
synced 2026-04-06 00:00:04 +08:00
move cache to /config subfolder, in case it gets large and balloons the container
This commit is contained in:
parent
ccd109db7d
commit
545a270154
@ -37,7 +37,7 @@
|
||||
* especially useful for lower power hosts
|
||||
*/
|
||||
$config['cops_thumbnail_handling'] = "";
|
||||
$config['cops_thumbnail_cache_directory'] = "/cache/";
|
||||
$config['cops_thumbnail_cache_directory'] = "/config/cache/";
|
||||
/*
|
||||
* Enable and configure Send To Kindle (or Email) feature.
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
# create folders
|
||||
mkdir -p \
|
||||
/cache
|
||||
/config/cache
|
||||
|
||||
# make symlink
|
||||
[[ ! -e /var/www/localhost/cops ]] && \
|
||||
@ -15,7 +15,6 @@ cp /config/config_local.php /var/www/localhost/cops/
|
||||
|
||||
# permissions
|
||||
chown -R abc:abc \
|
||||
/cache \
|
||||
/config \
|
||||
/usr/share/webapps/cops \
|
||||
var/www/localhost/cops
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user