1
0
Fork 0
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:
Éric Gaspar 2023-08-12 10:34:03 +02:00
parent efa5d5ed8a
commit ccbe98be83
3 changed files with 2 additions and 2 deletions

View file

View file

@ -21,7 +21,7 @@
"email": "" "email": ""
}, },
"requirements": { "requirements": {
"yunohost": ">= 4.3.0" "yunohost": ">= 11.2"
}, },
"multi_instance": false, "multi_instance": false,
"services": [ "services": [

View file

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