Skip to content

Commit 8bd99d9

Browse files
committed
Base. Removed ulimit from service startup script
1 parent 3f73d1b commit 8bd99d9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/base/lib/assets/base/node.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/bash
22
set -e
33
echo "Script is starting..."
4-
ulimit -n 500000
54

65
# Start the node
76
cd /home/bcuser/node

lib/base/lib/assets/user-data/node.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,8 @@ chmod -R 755 /data
273273

274274
if [ "$RESTORE_FROM_SNAPSHOT" == "false" ]; then
275275
echo "Skipping restoration from snapshot. Starting node"
276-
sudo systemctl daemon-reload
277-
sudo systemctl enable --now base
276+
systemctl daemon-reload
277+
systemctl enable --now base
278278
else
279279
echo "Restoring node from snapshot"
280280
chmod +x /opt/restore-from-snapshot.sh

0 commit comments

Comments
 (0)