[ 
https://issues.apache.org/jira/browse/CASSANDRASC-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17833608#comment-17833608
 ] 

Jon Haddad edited comment on CASSANDRASC-20 at 4/3/24 2:54 PM:
---------------------------------------------------------------

This is what I'm using in easy-cass-lab:

 
{noformat}
[Unit]
Description=Apache Cassandra

[Service]
ExecStart=/usr/local/cassandra/current/bin/cassandra -f
User=cassandra
Environment=CASSANDRA_LOG_DIR=/mnt/cassandra/logs

[Install]
WantedBy=multi-user.target
{noformat}
I'm not sure if there's anything else that should go in here.  


was (Author: rustyrazorblade):
This is what I'm using in easy-cass-lab:

 
{noformat}
[Unit]
Description=Apache Cassandra

[Service]
ExecStart=/usr/local/cassandra/current/bin/cassandra -f
User=cassandra
Environment=CASSANDRA_LOG_DIR=/mnt/cassandra/logs[Install]
WantedBy=multi-user.target
{noformat}
I'm not sure if there's anything else that should go in here.  

> Add systemd service unit configuration
> --------------------------------------
>
>                 Key: CASSANDRASC-20
>                 URL: https://issues.apache.org/jira/browse/CASSANDRASC-20
>             Project: Sidecar for Apache Cassandra
>          Issue Type: Improvement
>          Components: Configuration
>            Reporter: Jon Haddad
>            Priority: Normal
>
> We should add a systemd configuration to allow for standard start / stop / 
> restart commands.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to