mirror of
https://github.com/YunoHost-Apps/lemmy_ynh.git
synced 2024-09-03 19:36:09 +02:00
Pict-RS requires ffmpeg
This commit is contained in:
parent
208f3012d0
commit
037dff6aa5
2 changed files with 8 additions and 2 deletions
|
@ -81,7 +81,7 @@ ram.runtime = "50M"
|
|||
inbox.protected = true
|
||||
|
||||
[resources.apt]
|
||||
packages = "postgresql espeak rsync libfuse2 libimage-exiftool-perl"
|
||||
packages = "postgresql espeak rsync libfuse2 libimage-exiftool-perl ffmpeg"
|
||||
extras.yarn.repo = "deb https://dl.yarnpkg.com/debian/ stable main"
|
||||
extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg"
|
||||
extras.yarn.packages = "yarn"
|
||||
|
|
|
@ -83,7 +83,6 @@ ynh_add_nginx_config
|
|||
pushd $install_dir/lemmy-ui
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn add sharp
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH npm rebuild sharp
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
@ -198,6 +197,13 @@ yunohost service add $app-pict-rs --description="Simple image hosting service fo
|
|||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
#=================================================
|
||||
|
||||
# TMP rebuild sharp
|
||||
pushd $install_dir/lemmy-ui
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH npm rebuild sharp
|
||||
popd
|
||||
|
||||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||
|
||||
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Starting http server at"
|
||||
|
|
Loading…
Reference in a new issue