mirror of
https://github.com/YunoHost-Apps/cockpit_ynh.git
synced 2024-09-03 18:16:26 +02:00
fix permission
This commit is contained in:
parent
efa5d5ed8a
commit
ccbe98be83
3 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@
|
||||||
"email": ""
|
"email": ""
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 4.3.0"
|
"yunohost": ">= 11.2"
|
||||||
},
|
},
|
||||||
"multi_instance": false,
|
"multi_instance": false,
|
||||||
"services": [
|
"services": [
|
||||||
|
|
|
@ -83,7 +83,7 @@ systemctl restart $app.socket
|
||||||
|
|
||||||
ynh_add_config --template="../conf/cockpit.conf" --destination="/etc/cockpit/cockpit.conf"
|
ynh_add_config --template="../conf/cockpit.conf" --destination="/etc/cockpit/cockpit.conf"
|
||||||
|
|
||||||
chmod 440 "/etc/cockpit/cockpit.conf"
|
chmod 650 "/etc/cockpit/cockpit.conf"
|
||||||
chown root:$app-ws "/etc/cockpit/cockpit.conf"
|
chown root:$app-ws "/etc/cockpit/cockpit.conf"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue