We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f73d1b commit 8bd99d9Copy full SHA for 8bd99d9
lib/base/lib/assets/base/node.sh
@@ -1,7 +1,6 @@
1
#!/bin/bash
2
set -e
3
echo "Script is starting..."
4
-ulimit -n 500000
5
6
# Start the node
7
cd /home/bcuser/node
lib/base/lib/assets/user-data/node.sh
@@ -273,8 +273,8 @@ chmod -R 755 /data
273
274
if [ "$RESTORE_FROM_SNAPSHOT" == "false" ]; then
275
echo "Skipping restoration from snapshot. Starting node"
276
- sudo systemctl daemon-reload
277
- sudo systemctl enable --now base
+ systemctl daemon-reload
+ systemctl enable --now base
278
else
279
echo "Restoring node from snapshot"
280
chmod +x /opt/restore-from-snapshot.sh
0 commit comments