From 1e6dac6361f30452361af8ab93d1f61c36dd5310 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 31 May 2021 15:52:43 +0200 Subject: [PATCH 1/3] Update install --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index dd55c04..e222851 100644 --- a/scripts/install +++ b/scripts/install @@ -120,7 +120,8 @@ 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 +sleep 60 #================================================= # SETUP SSOWAT From 10f401af9f78f3f3dd450cd9ab0426faa2c8444c Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 2 Jun 2021 23:02:51 +0200 Subject: [PATCH 2/3] Update install --- scripts/install | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index e222851..cb7fea4 100644 --- a/scripts/install +++ b/scripts/install @@ -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,8 +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 -sleep 60 +ynh_systemd_action --service_name=$app --action=start --log_path="systemd" #================================================= # SETUP SSOWAT From f491ab5032b0738ca83d1c8dc2076c720a35322b Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 2 Jun 2021 23:04:25 +0200 Subject: [PATCH 3/3] Update upgrade --- scripts/upgrade | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index a3ed47e..b51807a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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 #=================================================