Commit 50ae3945 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

enable slapos-node service sooner

parent 4a0b7f18
...@@ -137,6 +137,9 @@ sysctl -w \ ...@@ -137,6 +137,9 @@ sysctl -w \
net.ipv6.neigh.default.gc_thresh2=1024 \ net.ipv6.neigh.default.gc_thresh2=1024 \
net.ipv6.neigh.default.gc_thresh3=2048 net.ipv6.neigh.default.gc_thresh3=2048
systemctl enable slapos-node.service
systemctl start slapos-node.service
# Increase default aio-max-nr for sql servers # Increase default aio-max-nr for sql servers
sysctl -w fs.aio-max-nr=262144 sysctl -w fs.aio-max-nr=262144
...@@ -157,7 +160,4 @@ modprobe coretemp ...@@ -157,7 +160,4 @@ modprobe coretemp
modprobe f71882fg modprobe f71882fg
# Activate KSM (shared memory for KVM) # Activate KSM (shared memory for KVM)
echo 1 > /sys/kernel/mm/ksm/run echo 1 > /sys/kernel/mm/ksm/run
\ No newline at end of file
systemctl enable slapos-node.service
systemctl start slapos-node.service
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment