mirror of
https://github.com/YunoHost-Apps/fider_ynh.git
synced 2024-09-03 18:36:11 +02:00
[enh] Some doc about config panel
This commit is contained in:
parent
0864c8b525
commit
1dc8e862a6
1 changed files with 9 additions and 13 deletions
|
@ -1,20 +1,16 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#=================================================
|
# In most simple cases, you don't need a config script (or just to reload services).
|
||||||
# GENERIC STARTING
|
|
||||||
#=================================================
|
# With a simple config_panel.toml, you can write in the app settings, in the
|
||||||
# IMPORT GENERIC HELPERS
|
# upstream config file or replace complete files (logo ...).
|
||||||
#=================================================
|
|
||||||
|
# The config scripts allows you to go further, to handle specific cases
|
||||||
|
# (validation of several interdependent fields, specific getter/setter for a value,
|
||||||
|
# pre-loading of config type .cube ).
|
||||||
|
|
||||||
source _common.sh
|
|
||||||
source /usr/share/yunohost/helpers
|
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# RETRIEVE ARGUMENTS
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
|
||||||
final_path=$(ynh_app_setting_get $app final_path)
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC GETTERS FOR TOML SHORT KEY
|
# SPECIFIC GETTERS FOR TOML SHORT KEY
|
||||||
|
@ -71,7 +67,7 @@ ynh_panel_apply() {
|
||||||
|
|
||||||
_ynh_panel_apply
|
_ynh_panel_apply
|
||||||
|
|
||||||
# Start vpn client
|
# Reload app service
|
||||||
systemctl reload APP
|
systemctl reload APP
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue