From 967880c664304a32772fd97fc7d1d04011468333 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 20 Jan 2024 09:13:32 -0500 Subject: [PATCH] Update cassandra-install.sh test without service file --- install/cassandra-install.sh | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/install/cassandra-install.sh b/install/cassandra-install.sh index a26e7dd1..5926b525 100644 --- a/install/cassandra-install.sh +++ b/install/cassandra-install.sh @@ -37,25 +37,8 @@ sed -i -e 's/^rpc_address: localhost/#rpc_address: localhost/g' -e 's/^# rpc_int msg_ok "Installed Cassandra" msg_info "Creating Service" -cat </etc/systemd/system/cassandra.service -[Unit] -Description=Cassandra -After=network.target -[Service] -PIDFile=/tmp/cassandra.pid -ExecStart=/opt/cassandra/bin/cassandra -p /tmp/cassandra.pid -R -StandardOutput=append:/tmp/cassandra.log -StandardError=append:/tmp/cassandra-error.log -LimitNOFILE=100000 -LimitMEMLOCK=infinity -LimitNPROC=32768 -LimitAS=infinity - -[Install] -WantedBy=default.target -EOF -systemctl enable -q --now cassandra.service +#systemctl enable -q --now cassandra.service msg_ok "Created Service" motd_ssh