Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A systemd unit for Cassandra
[Unit]
Description=Cassandra
After=network.target
[Service]
Type=forking
PIDFile=/var/lib/cassandra/cassandra.pid
User=cassandra
Group=cassandra
ExecStart=/usr/bin/cassandra -p /var/lib/cassandra/cassandra.pid
StandardOutput=journal
StandardError=journal
LimitNOFILE=infinity
[Install]
WantedBy=multi-user.target
@vicdurai
Copy link

vicdurai commented Dec 5, 2016

systemctl start cassandra.service does not return and is stuck even after the cassandra daemon starts. Kill works great. Only issue is that I have use Ctrl + C every time start the service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment