]> source.dussan.org Git - gitea.git/commitdiff
Removable media support (#16136)
authorAndrei Yankovich <EndrIIMail@gmail.com>
Fri, 11 Jun 2021 18:51:05 +0000 (21:51 +0300)
committerGitHub <noreply@github.com>
Fri, 11 Jun 2021 18:51:05 +0000 (14:51 -0400)
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)

snap/snapcraft.yaml

index 6f19fe5ed6bd32c8f7d00a812492628ff5d54524..cd989dfbbf0a2e3a019cc127cdcf09fb1e0296f1 100644 (file)
@@ -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: