blob: d6cdc5fc954785b9d7e3e627b9ed5786b4aac886 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Description:
#
# Used to start ArangoDB
#
# ArangoDB is a native multi-model database with flexible data models for
# documents, graphs, and key-values. Build high performance applications
# using a convenient SQL-like query language or JavaScript extensions.
# Use ACID transactions if you require them. Scale horizontally with a
# few mouse clicks.
#
# https://www.arangodb.com/
#
[Unit]
Description=ArangoDB
After=syslog.target network.target
[Service]
PrivateTmp=yes
Type=forking
User=arangodb
Group=arangodb
PIDFile=/var/run/arangodb/arangod.pid
# Run ExecStartPre with root-permissions
PermissionsStartOnly=true
# ExecStartPre run sequentially
ExecStartPre=/usr/bin/chown -R arangodb:arangodb /var/log/arangodb
ExecStartPre=/usr/bin/chown -R arangodb:arangodb /var/lib/arangodb
RuntimeDirectory=arangodb
RuntimeDirectoryMode=0755
ExecStart=/usr/bin/arangod -c /etc/arangodb/arangod.conf --pid-file /var/run/arangodb/arangod.pid --supervisor
[Install]
WantedBy=multi-user.target
|