This commit is contained in:
0xOzgur 2024-05-26 14:54:09 +03:00
parent b33314b2db
commit f098ae0f9d

View File

@ -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