diff --git a/manifest.json b/manifest.json index 6817174..69e5f62 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Web IRC client", "fr": "Client Web IRC" }, - "version": "4.2.0~ynh1", + "version": "4.2.0~ynh2", "url": "https://thelounge.chat/", "license": "MIT", "maintainer": { diff --git a/scripts/install b/scripts/install index dfabc7a..e587e6b 100644 --- a/scripts/install +++ b/scripts/install @@ -152,7 +152,7 @@ chown -R $app: $config_path #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --description="Client Web IRC" --log_type="systemd" +yunohost service add $app --description="Client Web IRC" --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/restore b/scripts/restore index dc74ad5..00611d4 100644 --- a/scripts/restore +++ b/scripts/restore @@ -107,7 +107,7 @@ systemctl enable $app.service --quiet #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --description="Client Web IRC" --log_type="systemd" +yunohost service add $app --description="Client Web IRC" --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/upgrade b/scripts/upgrade index 0ef5e2e..9ec59bc 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -179,7 +179,7 @@ chown -R $app: $config_path #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --description="Client Web IRC" --log_type="systemd" +yunohost service add $app --description="Client Web IRC" --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE