fix
This commit is contained in:
parent
2d9cf3aba4
commit
37e3a701c5
3 changed files with 4 additions and 3 deletions
|
@ -24,6 +24,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1
|
|||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir"
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from dist.src
|
||||
ynh_setup_source --dest_dir="$install_dir/dist" --source_id="dist"
|
||||
|
||||
|
@ -44,7 +45,7 @@ ynh_add_systemd_config
|
|||
# Use logrotate to manage application logfile(s)
|
||||
ynh_use_logrotate
|
||||
|
||||
yunohost service add $app --description="Uptime Kuma, a fancy monitoring tool" --log="/var/log/$app/$app.log"
|
||||
yunohost service add $app --description="Monitoring tool" --log="/var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC SETUP
|
||||
|
|
|
@ -36,7 +36,7 @@ systemctl enable $app.service --quiet
|
|||
|
||||
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
||||
|
||||
yunohost service add $app --description="Uptime Kuma, a fancy monitoring tool" --log="/var/log/$app/$app.log"
|
||||
yunohost service add $app --description="Monitoring tool" --log="/var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
|
|
|
@ -57,7 +57,7 @@ ynh_add_systemd_config
|
|||
# Use logrotate to manage app-specific logfile(s)
|
||||
ynh_use_logrotate --non-append
|
||||
|
||||
yunohost service add $app --description="Uptime Kuma, a fancy monitoring tool" --log="/var/log/$app/$app.log"
|
||||
yunohost service add $app --description="Monitoring tool" --log="/var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC UPGRADE
|
||||
|
|
Loading…
Add table
Reference in a new issue