mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Reorganize snap. Add daemon wrapper
This commit is contained in:
parent
d666339853
commit
2c51c4d186
6 changed files with 31 additions and 26 deletions
8
contrib/snap/monerod-wrapper
Normal file
8
contrib/snap/monerod-wrapper
Normal file
|
@ -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" "$@"
|
Loading…
Add table
Add a link
Reference in a new issue