mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 09:29:27 -05:00
Expose common commands via snap run interface to allow easier invocation (#6315)
Signed-off-by: James Hebden <james@ec0.io>
This commit is contained in:
parent
132b673dbe
commit
b32ac60c22
1
changelog.d/6315.feature
Normal file
1
changelog.d/6315.feature
Normal file
@ -0,0 +1 @@
|
|||||||
|
Expose the `synctl`, `hash_password` and `generate_config` commands in the snapcraft package. Contributed by @devec0.
|
@ -1,20 +1,31 @@
|
|||||||
name: matrix-synapse
|
name: matrix-synapse
|
||||||
base: core18
|
base: core18
|
||||||
version: git
|
version: git
|
||||||
summary: Reference Matrix homeserver
|
summary: Reference Matrix homeserver
|
||||||
description: |
|
description: |
|
||||||
Synapse is the reference Matrix homeserver.
|
Synapse is the reference Matrix homeserver.
|
||||||
Matrix is a federated and decentralised instant messaging and VoIP system.
|
Matrix is a federated and decentralised instant messaging and VoIP system.
|
||||||
|
|
||||||
grade: stable
|
grade: stable
|
||||||
confinement: strict
|
confinement: strict
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
matrix-synapse:
|
matrix-synapse:
|
||||||
command: synctl --no-daemonize start $SNAP_COMMON/homeserver.yaml
|
command: synctl --no-daemonize start $SNAP_COMMON/homeserver.yaml
|
||||||
stop-command: synctl -c $SNAP_COMMON stop
|
stop-command: synctl -c $SNAP_COMMON stop
|
||||||
plugs: [network-bind, network]
|
plugs: [network-bind, network]
|
||||||
daemon: simple
|
daemon: simple
|
||||||
|
hash-password:
|
||||||
|
command: hash_password
|
||||||
|
generate-config:
|
||||||
|
command: generate_config
|
||||||
|
generate-signing-key:
|
||||||
|
command: generate_signing_key.py
|
||||||
|
register-new-matrix-user:
|
||||||
|
command: register_new_matrix_user
|
||||||
|
plugs: [network]
|
||||||
|
synctl:
|
||||||
|
command: synctl
|
||||||
parts:
|
parts:
|
||||||
matrix-synapse:
|
matrix-synapse:
|
||||||
source: .
|
source: .
|
||||||
|
Loading…
Reference in New Issue
Block a user