aboutsummaryrefslogtreecommitdiffstats
path: root/snap/snapcraft.yaml
diff options
context:
space:
mode:
authorAndrei Yankovich <EndrIIMail@gmail.com>2021-06-11 21:51:05 +0300
committerGitHub <noreply@github.com>2021-06-11 14:51:05 -0400
commitb5f5eab9131db0fdabb31fd4beed3114ca77f3c5 (patch)
tree499871ff98f6f8dc129c885da61784a225075860 /snap/snapcraft.yaml
parentdaa5a2354879a6dff93f431bc7e47670438995ac (diff)
downloadgitea-b5f5eab9131db0fdabb31fd4beed3114ca77f3c5.tar.gz
gitea-b5f5eab9131db0fdabb31fd4beed3114ca77f3c5.zip
Removable media support (#16136)
Add support removable media for snap version of gitia. for get more info about removable media interface see the snapcraft [documentation](https://snapcraft.io/docs/removable-media-interface)
Diffstat (limited to 'snap/snapcraft.yaml')
-rw-r--r--snap/snapcraft.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 6f19fe5ed6..cd989dfbbf 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -25,14 +25,14 @@ environment:
apps:
gitea:
command: gitea
- plugs: [network, network-bind]
+ plugs: [network, network-bind, removable-media]
web:
command: gitea web
daemon: simple
- plugs: [network, network-bind]
+ plugs: [network, network-bind, removable-media]
dump:
command: gitea dump
- plugs: [home]
+ plugs: [home, removable-media]
version:
command: gitea --version
sqlite: