/
snapcraft.yaml
36 lines (32 loc) · 982 Bytes
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: rqlite
version: 3.5.0+git
summary: A distributed relational database built on SQLite
description: |
rqlite provides a relational data store that is highly available across a
cluster of nodes.
rqlite is written in Go and uses Raft to achieve consensus
across all the instances of the SQLite databases. rqlite ensures that
every change made to the system is made to a quorum of SQLite databases,
or none at all. It also gracefully handles leader elections, and tolerates
failures of machines, including the leader.
confinement: strict
grade: stable
apps:
rqlite:
command: bin/rqlite
plugs: [ home, network-bind ]
rqlited:
command: bin/rqlited
plugs: [ home, network-bind ]
launch:
daemon: forking
command: bin/snap-launch.py start
stop-command: bin/snap-launch.py stop
plugs: [ network-bind ]
parts:
rqlite:
plugin: go
source: https://github.com/rqlite/rqlite.git
scripts:
plugin: dump
source: scripts