danicoin/contrib/snap/monerod-wrapper

9 lines
184 B
Text
Raw Normal View History

2017-02-24 01:20:02 +00:00
#!/bin/sh
if [ ! -d "$SNAP_USER_DATA/etc" ]; then
mkdir $SNAP_USER_DATA/etc/
2018-01-03 13:13:57 +00:00
cp -R $SNAP/etc/danicoind.conf $SNAP_USER_DATA/etc/danicoind.conf
2017-02-24 01:20:02 +00:00
fi
2018-01-03 13:13:57 +00:00
exec "$SNAP/bin/danicoind" "$@"