aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Yankovich2021-06-12 22:27:16 +0300
committerGitHub2021-06-12 21:27:16 +0200
commitbc82bb9cda948912954ff75a46863c82b62f7759 (patch)
tree3e5f0d18a0c018e8f6c685792432d29d4778fde1
parentf034804e5d98f70d087c2d577a3fb6f0091e742f (diff)
Removable media support (#16138)
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)
-rw-r--r--snap/snapcraft.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 6f19fe5ed..cd989dfbb 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: