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"