aboutsummaryrefslogtreecommitdiff
path: root/snap
diff options
context:
space:
mode:
authorvdo <vdo@greyfaze.net>2017-02-24 02:20:02 +0100
committervdo <vdo@greyfaze.net>2017-02-24 02:20:02 +0100
commit2c51c4d186134829aa84c1c07373f20cd2ebd277 (patch)
tree6a309b7f941ad24c74725480e2bf66efaf17a3fc /snap
parentMerge pull request #1775 (diff)
downloadmonero-2c51c4d186134829aa84c1c07373f20cd2ebd277.tar.xz
Reorganize snap. Add daemon wrapper
Diffstat (limited to '')
-rw-r--r--contrib/snap/snapcraft.yaml (renamed from snapcraft.yaml)18
1 files changed, 14 insertions, 4 deletions
diff --git a/snapcraft.yaml b/contrib/snap/snapcraft.yaml
index 17910392b..8ed4413ac 100644
--- a/snapcraft.yaml
+++ b/contrib/snap/snapcraft.yaml
@@ -1,5 +1,5 @@
name: monero
-version: 0.10.1 # Current stable version
+version: 0.10.2-1
summary: "Monero: the secure, private, untraceable cryptocurrency https://getmonero.org"
description: |
Monero is a private, secure, untraceable, decentralised digital currency.
@@ -12,20 +12,20 @@ apps:
monerod:
daemon: forking
command: |
- monerod --detach --data-dir ${SNAP_DATA}
+ monerod-wrapper --detach --data-dir ${SNAP_COMMON} --config-file ${SNAP_USER_DATA}/etc/monerod.conf
plugs:
- network
- network-bind
monero-wallet-rpc:
command: |
- monero-wallet-rpc --log-file ${SNAP_USER_DATA}
+ monero-wallet-rpc --log-file ${SNAP_USER_DATA}
plugs:
- home
- network
- network-bind
monero-wallet-cli:
command: |
- monero-wallet-cli --log-file ${SNAP_USER_DATA}
+ monero-wallet-cli --log-file ${SNAP_USER_DATA}
plugs:
- home
- network
@@ -63,3 +63,13 @@ parts:
- usr/lib/
- -usr/lib/gcc
- -usr/share
+
+ dist-files:
+ plugin: dump
+ source: .
+ organize:
+ contrib/snap/monerod.conf: etc/monerod.conf
+ wrapper:
+ plugin: dump
+ source: contrib/snap/
+ stage: [monerod-wrapper]