Explorar o código

Update install

DeMiro5001 hai 4 meses
pai
achega
d385752564
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      scripts/install

+ 2 - 0
scripts/install

@@ -51,6 +51,8 @@ ynh_config_add_nginx
 
 
 ynh_config_add_systemd
 ynh_config_add_systemd
 
 
+ynh_systemctl --service=$app --action=start --wait_until="No requirements found in frontmatter"
+
 yunohost service add "$app" --description="User-friendly AI Interface (Supports Ollama, OpenAI API, ...)" --log="/var/log/$app/$app.log"
 yunohost service add "$app" --description="User-friendly AI Interface (Supports Ollama, OpenAI API, ...)" --log="/var/log/$app/$app.log"
 
 
 ynh_config_add_logrotate
 ynh_config_add_logrotate