mirror of
https://github.com/YunoHost-Apps/cockpit_ynh.git
synced 2024-09-03 18:16:26 +02:00
fix
This commit is contained in:
parent
5052e70d82
commit
988517f259
2 changed files with 1 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue