summary refs log tree commit diff
path: root/snap/snapcraft.yaml
blob: 1f7df71db240093e825764b8133ace48b7c994eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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