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:
commit
706baa8bdb
6 changed files with 13 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -14,5 +14,6 @@ location / {
|
|||
|
||||
# Include SSOWAT user panel.
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
|
||||
more_clear_input_headers 'Accept-Encoding';
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
},
|
||||
"license": "MIT",
|
||||
"maintainer": {
|
||||
"name": "",
|
||||
"name": "eric_G",
|
||||
"email": ""
|
||||
},
|
||||
"requirements": {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue