]> source.dussan.org Git - gitea.git/commitdiff
Removable media support (#16138)
authorAndrei Yankovich <EndrIIMail@gmail.com>
Sat, 12 Jun 2021 19:27:16 +0000 (22:27 +0300)
committerGitHub <noreply@github.com>
Sat, 12 Jun 2021 19:27:16 +0000 (21:27 +0200)
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: