summary refs log tree commit diff
path: root/snap
diff options
context:
space:
mode:
authorJames <james@hebden.net.au>2019-10-10 21:59:06 +1100
committerRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-10-10 11:59:06 +0100
commit0aee4900131bf97dde0f0ff5d1f7133147ff5bc7 (patch)
treeb34a4be53171c66e6db09d17011cb08d0466e5af /snap
parentFix races in room stats (and other) updates. (#6187) (diff)
downloadsynapse-0aee4900131bf97dde0f0ff5d1f7133147ff5bc7.tar.xz
Add snapcraft packaging information (#6084)
Diffstat (limited to 'snap')
-rw-r--r--snap/snapcraft.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
new file mode 100644
index 0000000000..1f7df71db2
--- /dev/null
+++ b/snap/snapcraft.yaml
@@ -0,0 +1,22 @@
+name: matrix-synapse
+base: core18
+version: git 
+summary: Reference Matrix homeserver
+description: |
+  Synapse is the reference Matrix homeserver.
+  Matrix is a federated and decentralised instant messaging and VoIP system.
+
+grade: stable 
+confinement: strict 
+
+apps:
+  matrix-synapse: 
+    command: synctl --no-daemonize start $SNAP_COMMON/homeserver.yaml
+    stop-command: synctl -c $SNAP_COMMON stop
+    plugs: [network-bind, network]
+    daemon: simple 
+parts:
+  matrix-synapse:
+    source: .
+    plugin: python
+    python-version: python3