blob: dda690842f6926e182ac37028eba3fc14b14a909 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
[Unit]
Description=Cassandra NoSQL database
Documentation=https://cassandra.apache.org/
After=network.target
[Service]
Type=forking
User=cassandra
Group=cassandra
ExecStart=/usr/bin/cassandra -p /run/cassandra/cassandra.pid
Environment=JAVA_HOME=/usr/lib/jvm/default-runtime
PIDFile=/run/cassandra/cassandra.pid
WorkingDirectory=/var/lib/cassandra
LimitMEMLOCK=infinity
LimitNOFILE=100000
LimitNPROC=32768
LimitAS=infinity
[Install]
WantedBy=multi-user.target
|