summarylogtreecommitdiffstats
path: root/stardog.service
blob: 3eb1dcca85ce6f5ab80105212bbdd83690ac3acb (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
[Unit]
Description=Stardog Knowledge Graph
Documentation=https://www.stardog.com/
After=network.target auditd.service

[Service]
Type=forking
User=stardog
Group=stardog
EnvironmentFile=-/etc/default/stardog
TimeoutStopSec=0
ExecStart=/opt/stardog/latest/bin/stardog-admin server start $OPTIONS
Restart=on-failure
StartLimitBurst=3
StartLimitInterval=60s
RestartSec=10s
KillSignal=SIGTERM
SendSIGKILL=no
SuccessExitStatus=143
LimitNOFILE=100050

# increase as needed if "database load" too long
#  due to statistics recalculation or virtual graph loading
TimeoutStartSec=5m

[Install]
WantedBy=multi-user.target