Hi,
I installed scylla 5.2.9 on centos 7 as non root and custom directory. I was trying to find a way to stop scylla gracefully instead of using kill command.
Also i want to send the logs to a custom directory. Is there a way or parameter i can do that.
started scylla as below
/opt/scylladb/bin/scylla --io-properties-file=/opt/scylladb/etc/scylla.d/io_properties.yaml --options-file=/opt/scylladb/conf/scylla.yaml
Since you explicitly asked not to use systemd or systemctl (which are the “normal” way to start and stop services), you are left with the kill command.
However, before you kill the node you should consider running nodetool drain on this node. This command (see its documentation) will tell the running Scylla to flush all the data to disk, to finish all ongoing request and stop accepting new requests. Once nodetool drain is done, it is safe to kill the scylla process with whichever signal you want (SIGTERM or SIGKILL), and there is no risk of losing any unsaved data or interrupting a request.