mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
fix: packages list and redis helper
This commit is contained in:
parent
d2f76ed4df
commit
b32ac33c26
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ ram.runtime = "100M"
|
|||
main.url = "/"
|
||||
|
||||
[resources.apt]
|
||||
packages = "postgresql libgd3 jpegoptim optipng pngquant ffmpeg imagemagick supervisor php8.2-redis php8.2-bcmath php8.2-cli php8.2-ctype php8.2-curl php8.2-exif php8.2-gd php8.2-iconv php8.2-intl php8.2-mbstring php8.2-tokenizer php8.2-xml php8.2-zip php8.2-pdo php8.2-pgsql php8.2-fileinfo php8.2-imagick"
|
||||
packages = "postgresql, libgd3, jpegoptim, optipng, pngquant, ffmpeg, imagemagick, supervisor, php8.2-redis, php8.2-bcmath, php8.2-cli, php8.2-ctype, php8.2-curl, php8.2-exif, php8.2-gd, php8.2-iconv, php8.2-intl, php8.2-mbstring, php8.2-tokenizer, php8.2-xml, php8.2-zip, php8.2-pdo, php8.2-pgsql, php8.2-fileinfo, php8.2-imagick"
|
||||
|
||||
[resources.database]
|
||||
type = "postgresql"
|
||||
|
|
|
@ -53,7 +53,7 @@ ynh_redis_get_free_db() {
|
|||
# | arg: database - the database to erase
|
||||
ynh_redis_remove_db() {
|
||||
local db=$1
|
||||
redis-cli -n "$db" flushall
|
||||
redis-cli -n "$db" flushdb
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue