1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/commento_ynh.git synced 2024-09-03 18:16:16 +02:00

Merge branch 'testing' into plusplus

This commit is contained in:
Éric Gaspar 2022-04-14 23:58:30 +02:00 committed by GitHub
commit 706baa8bdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 6 deletions

View file

@ -11,6 +11,12 @@ COMMENTO_FORBID_NEW_OWNERS=__ENABLE_REGISTRATIONS__
# Set PostgreSQL settings
COMMENTO_POSTGRES=postgres://__DB_USER__:__DB_PWD__@127.0.0.1:5432/__DB_NAME__?sslmode=disable
# Used to disable new dashboard registrations.
COMMENTO_FORBID_NEW_OWNERS=false
# If set to true, all static content will be served GZipped if the client's browser supports compression.
COMMENTO_GZIP_STATIC=false
# Set the SMTP credentials
#COMMENTO_SMTP_HOST=localhost
#COMMENTO_SMTP_PORT=25

View file

@ -14,5 +14,6 @@ location / {
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
more_clear_input_headers 'Accept-Encoding';
}

View file

@ -17,7 +17,7 @@
},
"license": "MIT",
"maintainer": {
"name": "",
"name": "eric_G",
"email": ""
},
"requirements": {

View file

@ -145,7 +145,7 @@ yunohost service add $app --description="Privacy-focused commenting platform" --
ynh_script_progression --message="Starting a systemd service..." --weight=1
# Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path=systemd
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
#=================================================
# SETUP SSOWAT

View file

@ -105,7 +105,7 @@ yunohost service add $app --description="Privacy-focused commenting platform" --
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="start" --log_path=systemd
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
#=================================================
# GENERIC FINALIZATION

View file

@ -54,7 +54,7 @@ ynh_abort_if_errors
#=================================================
ynh_script_progression --message="Stopping a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log"
ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd"
#=================================================
# ENSURE DOWNWARD COMPATIBILITY
@ -142,7 +142,7 @@ yunohost service add $app --description="Privacy-focused commenting platform" --
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="start" --log_path=systemd
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
#=================================================
# RELOAD NGINX