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

Stefan Miklosovic commented on CASSANDRA-14351:
-----------------------------------------------

[~tcataldo] could you please copy here the systemd Cassandra unit file you are 
using? Cassandra node starts but I am still getting return value "0" which is 
considered to be an erroneous state. I think that the service needs to be of 
Type=notify in that unit.

> Support systemd SD_NOTIFY interface during startup
> --------------------------------------------------
>
>                 Key: CASSANDRA-14351
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14351
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Packaging
>            Reporter: Thomas Bechtold
>            Assignee: Stefan Miklosovic
>            Priority: Normal
>             Fix For: 4.0.x, 4.1.x, 5.0.x, 5.x
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> When cassandra is started via systemd, it would be nice to support the 
> [SD_NOTIFY|https://www.freedesktop.org/software/systemd/man/sd_notify.html] 
> protocol so systemd know, when cassandra is ready (that can be use for 
> dependencies or when you need to wait until cassandra startup is done).
> A very simple implementation could be done using the 
> {code:java}
> systemd-notify --ready
> {code}
> command line tool (and ignore it if the tool is not there)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to