Browse Source

Add snapcraft packaging information (#6084)

tags/v1.5.0rc1
James 4 years ago
committed by Richard van der Hoff
parent
commit
0aee490013
3 changed files with 24 additions and 0 deletions
  1. +1
    -0
      .gitignore
  2. +1
    -0
      changelog.d/6084.misc
  3. +22
    -0
      snap/snapcraft.yaml

+ 1
- 0
.gitignore View File

@@ -7,6 +7,7 @@
*.egg-info
*.lock
*.pyc
*.snap
*.tac
_trial_temp/
_trial_temp*/


+ 1
- 0
changelog.d/6084.misc View File

@@ -0,0 +1 @@
Add snapcraft packaging information. Contributed by @devec0.

+ 22
- 0
snap/snapcraft.yaml View File

@@ -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

Loading…
Cancel
Save