aboutsummaryrefslogtreecommitdiff
path: root/contrib/snap/monerod-wrapper
blob: f7266e11c3be94daf0580582488fc64b435e4b4f (plain) (blame)
1
2
3
4
5
6
7
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" "$@"