mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-04 12:05:04 +02:00
needs to run as user bitcoin
This commit is contained in:
@@ -37,7 +37,11 @@ function setting() # FILE LINENUMBER NAME VALUE
|
|||||||
if [ "$1" == "prestart" ]; then
|
if [ "$1" == "prestart" ]; then
|
||||||
|
|
||||||
echo "### RUNNING lnd.check.sh prestart"
|
echo "### RUNNING lnd.check.sh prestart"
|
||||||
echo "# user($USER)"
|
|
||||||
|
if [ "$USER" != "bitcoin" ]; then
|
||||||
|
echo "# FAIL: run as user 'bitcoin'"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# set default chain parameter
|
# set default chain parameter
|
||||||
targetchain=$2
|
targetchain=$2
|
||||||
|
Reference in New Issue
Block a user