From 988517f259d5c33ca4a81486d9f7e2a3824f46d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 17 Jan 2024 15:49:24 +0100 Subject: [PATCH] fix --- scripts/install | 1 - scripts/upgrade | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index adc66e6..45dbe5f 100644 --- a/scripts/install +++ b/scripts/install @@ -33,7 +33,6 @@ ynh_replace_string --match_string="ListenStream=.*" --replace_string="ListenStre systemctl daemon-reload systemctl restart $app.socket -mkdir "/etc/cockpit/" ynh_add_config --template="cockpit.conf" --destination="/etc/cockpit/cockpit.conf" chmod 650 "/etc/cockpit/cockpit.conf" diff --git a/scripts/upgrade b/scripts/upgrade index d6dfc26..c2fc65f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -48,7 +48,7 @@ ynh_replace_string --match_string="ListenStream=.*" --replace_string="ListenStre systemctl daemon-reload systemctl restart $app.socket -ynh_add_config --template="../conf/cockpit.conf" --destination="/etc/cockpit/cockpit.conf" +ynh_add_config --template="cockpit.conf" --destination="/etc/cockpit/cockpit.conf" chmod 650 "/etc/cockpit/cockpit.conf" chown root:$app "/etc/cockpit/cockpit.conf"