mirror of
https://github.com/YunoHost-Apps/lemmy_ynh.git
synced 2024-09-03 19:36:09 +02:00
fix
This commit is contained in:
parent
a90ba89e73
commit
e24a737694
3 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@ Group=__APP__
|
|||
Environment="LEMMY_INTERNAL_HOST=127.0.0.1:__PORT__"
|
||||
Environment="LEMMY_EXTERNAL_HOST=__DOMAIN__"
|
||||
Environment="LEMMY_HTTPS=true"
|
||||
Environment="LEMMY_UI_HOST=0.0.0.0:__PORT_UI__"
|
||||
Environment="LEMMY_UI_HOST=127.0.0.1:__PORT_UI__"
|
||||
WorkingDirectory=__INSTALL_DIR__/lemmy-ui/
|
||||
ExecStart=__YNH_NODE__ dist/js/server.js
|
||||
StandardOutput=append:/var/log/__APP__/__APP__-ui.log
|
||||
|
|
|
@ -5,7 +5,7 @@ name = "Lemmy"
|
|||
description.en = "Link aggregator/Reddit clone for the fediverse"
|
||||
description.fr = "Agrégateur de liens/clone Reddit pour le fedivers"
|
||||
|
||||
version = "0.17.4~ynh1"
|
||||
version = "0.18.0~ynh1"
|
||||
|
||||
maintainers = []
|
||||
|
||||
|
|
|
@ -121,8 +121,8 @@ yunohost service add $app-ui --log="/var/log/$app/$app-ui.log"
|
|||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||
|
||||
# Start a systemd service
|
||||
ynh_systemd_action --service_name=$app --action="start" --line_match="Starting http server at" --log_path="/var/log/$app/$app.log"
|
||||
ynh_systemd_action --service_name=$app-ui --action="start" --line_match="http://0.0.0.0" --log_path="/var/log/$app/$app-ui.log"
|
||||
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" #--line_match="Starting http server at"
|
||||
ynh_systemd_action --service_name=$app-ui --action="start" --log_path="/var/log/$app/$app-ui.log" #--line_match="http://0.0.0.0"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
Loading…
Reference in a new issue