Verified Commit 066820a7 authored by Marco Marinello's avatar Marco Marinello
Browse files

Upgrade scripts for Veyon 4.7

parent 525189f7
Pipeline #253 passed with stage
in 1 minute and 13 seconds
......@@ -23,7 +23,7 @@
if [ -e /var/lib/fuss-client/veyon-excluded-groups ]; then
EXCLUDED_GROUPS="$(xargs < /var/lib/fuss-client/veyon-excluded-groups)"
else
EXCLUDED_GROUPS="docenti insegnanti"
EXCLUDED_GROUPS="root docenti insegnanti veyon-master"
fi
# We don't want teachers to be monitored.
......@@ -38,7 +38,7 @@ for group in $EXCLUDED_GROUPS; do
done
# Stop system-wide Veyon daemon
systemctl stop veyon-service
systemctl stop veyon
# Launch Veyon daemon in background as the
# user that logged-in.
su -c veyon-service $USER &
......@@ -23,4 +23,4 @@
pkill -u $USER veyon
# Restart system-wide daemon
systemctl restart veyon-service
systemctl restart veyon
......@@ -47,14 +47,14 @@
mode: "0755"
- name: Set some standard variables for veyon
shell: "veyon-ctl config set '{{ item.name }}' '{{ item.value }}'"
shell: "veyon-cli config set '{{ item.name }}' '{{ item.value }}'"
loop:
- name: "AccessControl/AccessRestrictedToUserGroups"
value: "true"
- name: "AccessControl/AuthorizedUserGroups"
value: "veyon-master"
- name: "Features/DisabledFeatures"
value: "{f483c659-b5e7-4dbc-bd91-2c9403e70ebd}"
value: "{f483c659-b5e7-4dbc-bd91-2c9403e70ebd};{09bcb3a1-fc11-4d03-8cf1-efd26be8655b};{7310707d-3918-460d-a949-65bd152cb958}"
# No daemon restart or activation here:
# we would cause a problem if upgraded un-interactively.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment