mirror of
https://github.com/YunoHost-Apps/yunomonitor_ynh.git
synced 2024-09-03 17:46:11 +02:00
[fix] Path ssowat erreor during install
This commit is contained in:
parent
1545715cda
commit
1198fa3a79
3 changed files with 2 additions and 13 deletions
|
@ -14,10 +14,6 @@ YunoMonitor can send you email or SMS if you give him an URL API to do it (like
|
|||
|
||||
**Shipped version:** 1.0
|
||||
|
||||
## Configuration
|
||||
|
||||
To configure this app.
|
||||
|
||||
## Documentation
|
||||
|
||||
* Official documentation: https://github.com/zamentur/yunomonitor/blob/master/README.md
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
[Unit]
|
||||
Description=Run __APP__ regularly
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*:0/8
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
|
@ -25,6 +25,7 @@ ynh_abort_if_errors
|
|||
#=================================================
|
||||
|
||||
export domain=$(cat /etc/yunohost/current_host)
|
||||
export path_url=/
|
||||
ynh_export monitored_servers monitoring_servers mails sms_api
|
||||
|
||||
app=$YNH_APP_INSTANCE_NAME
|
||||
|
@ -42,7 +43,7 @@ test ! -e "$final_path" || ynh_die --message="This path already contains a folde
|
|||
#=================================================
|
||||
ynh_script_progression --message="Storing installation settings..." --time --weight=1
|
||||
|
||||
ynh_save_args domain monitored_servers monitoring_servers mails sms_api
|
||||
ynh_save_args domain path_url monitored_servers monitoring_servers mails sms_api
|
||||
|
||||
#=================================================
|
||||
# STANDARD MODIFICATIONS
|
||||
|
|
Loading…
Reference in a new issue