summarylogtreecommitdiffstats
path: root/orientdb.service
blob: 547ca24bad9c7aa2c7da6c81909f3142a1d780a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# Service config for OrientDB Graph-Document NoSQL
#
[Unit]
Description=OrientDB Graph-Document NoSQL - Community Edition
DefaultDependencies=false

[Service]
Type=simple
#Both User and Group are significant to the correct running of systemd and orientdb
User=orientdb
Group=orientdb

#server2.sh and shutdown2.sh are used as these have modifications for use with systemd
ExecStart=/opt/orientdb/bin/server2.sh
ExecStop=/opt/orientdb/bin/shutdown2.sh -w -t

[Install]
WantedBy=multi-user.target