Update snap

This commit is contained in:
Kumi 2018-01-03 14:13:57 +01:00
parent fbe27f457d
commit be01253f21
3 changed files with 18 additions and 18 deletions

View file

@ -2,7 +2,7 @@
if [ ! -d "$SNAP_USER_DATA/etc" ]; then if [ ! -d "$SNAP_USER_DATA/etc" ]; then
mkdir $SNAP_USER_DATA/etc/ 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 fi
exec "$SNAP/bin/monerod" "$@" exec "$SNAP/bin/danicoind" "$@"

View file

@ -1,9 +1,9 @@
# Configuration for monerod # Configuration for danicoind
# Syntax: any command line option may be specified as 'clioptionname=value'. # 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: # Overrided by snap:
# data-dir=/var/lib/monero # data-dir=/var/lib/danicoin
# log-file=/var/log/monero/monero.log # log-file=/var/log/danicoin/danicoin.log
log-level=0 log-level=0

View file

@ -1,31 +1,31 @@
name: monero name: danicoin
version: 0.10.2-1 version: 2.11.1
summary: "Monero: the secure, private, untraceable cryptocurrency https://getmonero.org" summary: "Danicoin: The best cryptocurrency"
description: | 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 You are your bank, you control your funds, and nobody can trace your transfers
unless you allow them to do so. unless you allow them to do so.
grade: devel grade: devel
confinement: strict confinement: strict
apps: apps:
monerod: danicoind-wrapper:
daemon: forking daemon: forking
command: | 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: plugs:
- network - network
- network-bind - network-bind
monero-wallet-rpc: daniwallet-rpc:
command: | command: |
monero-wallet-rpc --log-file ${SNAP_USER_DATA} daniwallet-rpc --log-file ${SNAP_USER_DATA}
plugs: plugs:
- home - home
- network - network
- network-bind - network-bind
monero-wallet-cli: daniwallet:
command: | command: |
monero-wallet-cli --log-file ${SNAP_USER_DATA} daniwallet --log-file ${SNAP_USER_DATA}
plugs: plugs:
- home - home
- network - network
@ -68,8 +68,8 @@ parts:
plugin: dump plugin: dump
source: . source: .
organize: organize:
contrib/snap/monerod.conf: etc/monerod.conf contrib/snap/danicoind.conf: etc/danicoind.conf
contrib/snap/monerod-wrapper: bin/monerod-wrapper contrib/snap/danicoind: bin/danicoind
prime: prime:
- etc - etc
- bin - bin