1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cockpit_ynh.git synced 2024-09-03 18:16:26 +02:00
This commit is contained in:
Éric Gaspar 2024-01-17 15:49:24 +01:00
parent 5052e70d82
commit 988517f259
2 changed files with 1 additions and 2 deletions

View file

@ -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"

View file

@ -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"