mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 11:23:26 +01:00
823843eadb
ARCH=native fixes SIGILL issues on other amd64 processors. Static library dependencies where supported. Package libunbound2 in the snap.
13 lines
285 B
Bash
Executable File
13 lines
285 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
export LD_LIBRARY_PATH=${SNAP_LIBRARY_PATH}:${SNAP}/usr/lib/x86_64-linux-gnu
|
|
export HOME=${SNAP_DATA}
|
|
cd ${SNAP_DATA}
|
|
|
|
ARGS=
|
|
if [ -e "${SNAP_DATA}/etc/monerod.conf" ]; then
|
|
ARGS="--config-file ${SNAP_DATA}/etc/monerod.conf"
|
|
fi
|
|
|
|
exec ${SNAP}/bin/monerod --detach $ARGS
|