Created
December 31, 2013 22:01
-
-
Save tobert/8202635 to your computer and use it in GitHub Desktop.
A systemd unit for Cassandra
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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