From f9e25d7e30205756088e7dd330b8070fb5195ae9 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Thu, 17 Sep 2026 15:05:37 +0100 Subject: Permit the Mattermost Snap to use GNOME Keyring --- canonical/systemd/dotfiles-mattermost-keyring.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 canonical/systemd/dotfiles-mattermost-keyring.service (limited to 'canonical/systemd/dotfiles-mattermost-keyring.service') diff --git a/canonical/systemd/dotfiles-mattermost-keyring.service b/canonical/systemd/dotfiles-mattermost-keyring.service new file mode 100644 index 0000000..fd75f86 --- /dev/null +++ b/canonical/systemd/dotfiles-mattermost-keyring.service @@ -0,0 +1,12 @@ +[Unit] +Description=Allow Mattermost Snap to use GNOME Keyring +After=snapd.apparmor.service snapd.service apparmor.service +Before=display-manager.service +ConditionPathExists=/var/lib/snapd/apparmor/profiles/snap.mattermost-desktop.mattermost-desktop + +[Service] +Type=oneshot +ExecStart=/usr/bin/python3 /usr/local/lib/dotfiles/mattermost_keyring.py + +[Install] +WantedBy=multi-user.target -- cgit v1.3.1