diff options
Diffstat (limited to 'contrib/snap/monerod-wrapper')
-rw-r--r-- | contrib/snap/monerod-wrapper | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/snap/monerod-wrapper b/contrib/snap/monerod-wrapper new file mode 100644 index 000000000..f7266e11c --- /dev/null +++ b/contrib/snap/monerod-wrapper @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ ! -d "$SNAP_USER_DATA/etc" ]; then + mkdir $SNAP_USER_DATA/etc/ + cp -R $SNAP/etc/monerod.conf $SNAP_USER_DATA/etc/monerod.conf +fi + +exec "$SNAP/bin/monerod" "$@" |