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
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" "$@"

View File

@ -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

View File

@ -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