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

Merge pull request #1 from YunoHost-Apps/testing

Update install
This commit is contained in:
Éric Gaspar 2021-06-02 23:06:03 +02:00 committed by GitHub
commit 96c36d1738
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 10 deletions

View file

@ -98,7 +98,7 @@ ynh_add_nginx_config
#=================================================
ynh_script_progression --message="Modifying a config file..." --weight=1
ynh_add_config --template="../conf/config.default.toml" --destination="$final_path//.dispatch/config.toml"
ynh_add_config --template="../conf/config.default.toml" --destination="$final_path/.dispatch/config.toml"
#=================================================
# SETUP SYSTEMD
@ -120,7 +120,7 @@ yunohost service add $app --description="Web-based IRC client in Go" --log="/var
ynh_script_progression --message="Starting a systemd service..." --weight=2
# Start a systemd service
ynh_systemd_action --service_name=$app --action=start --log_path=systemd --timeout="60"
ynh_systemd_action --service_name=$app --action=start --log_path="systemd"
#=================================================
# SETUP SSOWAT

View file

@ -104,14 +104,6 @@ ynh_script_progression --message="Configuring a systemd service..." --weight=2
# Create a dedicated systemd config
ynh_add_systemd_config
#=================================================
# SETUP LOGROTATE
#=================================================
ynh_script_progression --message="Upgrading logrotate configuration..." --weight=1
# Use logrotate to manage app-specific logfile(s)
ynh_use_logrotate --non-append
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================