bugfix
This commit is contained in:
parent
b33314b2db
commit
f098ae0f9d
@ -44,10 +44,10 @@ git checkout release
|
||||
ARCH=$(uname -m)
|
||||
|
||||
# Get the current user's home directory
|
||||
HOME_DIR=$(eval echo ~$USER)
|
||||
#HOME_DIR=$(eval echo ~$USER)
|
||||
|
||||
# Use the home directory in the path
|
||||
PATH="$HOME_DIR/ceremonyclient/node"
|
||||
#PATH="$HOME_DIR/ceremonyclient/node"
|
||||
|
||||
# Step10.1:Determine the ExecStart line based on the architecture
|
||||
if [ "$ARCH" = "x86_64" ]; then
|
||||
@ -74,7 +74,7 @@ Type=simple
|
||||
Restart=always
|
||||
RestartSec=5s
|
||||
WorkingDirectory=/root/ceremonyclient/node
|
||||
ExecStart=$EXEC_START
|
||||
ExecStart=/root/ceremonyclient/node/$PATH
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Loading…
Reference in New Issue
Block a user