summarylogtreecommitdiffstats
path: root/couchbase-server.service
blob: 3c52165ee24baa54c718f3f3fa8366e47d1ec1c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# -*- mode: conf-unix; -*-
[Unit]
Description = Couchbase Server
Documentation = http://docs.couchbase.com
After = network.target remote-fs.target nss-lookup.target

[Service]
SyslogIdentifier = couchbase
User = couchbase
Type = forking
PIDFile=/opt/couchbase/var/lib/couchbase/couchbase-server.pid
WorkingDirectory = /opt/couchbase/var/lib/couchbase
LimitNOFILE = 40960
LimitCORE = infinity
LimitMEMLOCK = infinity
ExecStart = /opt/couchbase/bin/couchbase-server -- -noinput -detached > /opt/couchbase/var/lib/couchbase/logs/start.log 2>&1
ExecStop = /opt/couchbase/bin/couchbase-server -- -k

[Install]
WantedBy = multi-user.target