mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-24 22:09:24 -05:00
Add snapcraft packaging information (#6084)
This commit is contained in:
parent
a139420a3c
commit
0aee490013
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,6 +7,7 @@
|
||||
*.egg-info
|
||||
*.lock
|
||||
*.pyc
|
||||
*.snap
|
||||
*.tac
|
||||
_trial_temp/
|
||||
_trial_temp*/
|
||||
|
1
changelog.d/6084.misc
Normal file
1
changelog.d/6084.misc
Normal file
@ -0,0 +1 @@
|
||||
Add snapcraft packaging information. Contributed by @devec0.
|
22
snap/snapcraft.yaml
Normal file
22
snap/snapcraft.yaml
Normal 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…
Reference in New Issue
Block a user