From be01253f213ef53e9220679d793bcd73643cfc65 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Wed, 3 Jan 2018 14:13:57 +0100 Subject: [PATCH] Update snap --- contrib/snap/monerod-wrapper | 4 ++-- contrib/snap/monerod.conf | 8 ++++---- contrib/snap/snapcraft.yaml | 24 ++++++++++++------------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/contrib/snap/monerod-wrapper b/contrib/snap/monerod-wrapper index f7266e11..92313f6e 100755 --- a/contrib/snap/monerod-wrapper +++ b/contrib/snap/monerod-wrapper @@ -2,7 +2,7 @@ if [ ! -d "$SNAP_USER_DATA/etc" ]; then mkdir $SNAP_USER_DATA/etc/ - cp -R $SNAP/etc/monerod.conf $SNAP_USER_DATA/etc/monerod.conf + cp -R $SNAP/etc/danicoind.conf $SNAP_USER_DATA/etc/danicoind.conf fi -exec "$SNAP/bin/monerod" "$@" +exec "$SNAP/bin/danicoind" "$@" diff --git a/contrib/snap/monerod.conf b/contrib/snap/monerod.conf index 9b3d308e..524959e1 100644 --- a/contrib/snap/monerod.conf +++ b/contrib/snap/monerod.conf @@ -1,9 +1,9 @@ -# Configuration for monerod +# Configuration for danicoind # Syntax: any command line option may be specified as 'clioptionname=value'. -# See 'monerod --help' for all available options. +# See 'danicoind --help' for all available options. # Overrided by snap: -# data-dir=/var/lib/monero -# log-file=/var/log/monero/monero.log +# data-dir=/var/lib/danicoin +# log-file=/var/log/danicoin/danicoin.log log-level=0 diff --git a/contrib/snap/snapcraft.yaml b/contrib/snap/snapcraft.yaml index 11d480d1..df2ea952 100644 --- a/contrib/snap/snapcraft.yaml +++ b/contrib/snap/snapcraft.yaml @@ -1,31 +1,31 @@ -name: monero -version: 0.10.2-1 -summary: "Monero: the secure, private, untraceable cryptocurrency https://getmonero.org" +name: danicoin +version: 2.11.1 +summary: "Danicoin: The best cryptocurrency" description: | - Monero is a private, secure, untraceable, decentralised digital currency. + Danicoin is a private, secure, untraceable, decentralised digital currency. You are your bank, you control your funds, and nobody can trace your transfers unless you allow them to do so. grade: devel confinement: strict apps: - monerod: + danicoind-wrapper: daemon: forking command: | - monerod-wrapper --detach --data-dir ${SNAP_COMMON} --config-file ${SNAP_USER_DATA}/etc/monerod.conf + danicoind-wrapper --detach --data-dir ${SNAP_COMMON} --config-file ${SNAP_USER_DATA}/etc/danicoind.conf plugs: - network - network-bind - monero-wallet-rpc: + daniwallet-rpc: command: | - monero-wallet-rpc --log-file ${SNAP_USER_DATA} + daniwallet-rpc --log-file ${SNAP_USER_DATA} plugs: - home - network - network-bind - monero-wallet-cli: + daniwallet: command: | - monero-wallet-cli --log-file ${SNAP_USER_DATA} + daniwallet --log-file ${SNAP_USER_DATA} plugs: - home - network @@ -68,8 +68,8 @@ parts: plugin: dump source: . organize: - contrib/snap/monerod.conf: etc/monerod.conf - contrib/snap/monerod-wrapper: bin/monerod-wrapper + contrib/snap/danicoind.conf: etc/danicoind.conf + contrib/snap/danicoind: bin/danicoind prime: - etc - bin