mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 12:06:36 +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
|
||||
|
||||
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
|
||||
targetchain=$2
|
||||
|
Reference in New Issue
Block a user