blob: b3eff3c7c9cffe13a788dd6fba9541cfdba83a62 (
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
36
37
|
[Unit]
Description=Graylog management server
After=network.target mongodb.service
Requires=mongodb.service
[Service]
DynamicUser=true
PIDFile=$RUNTIME_DIRECTORY/server.pid
ExecStart=/usr/bin/java -Djava.net.preferIPv6Addresses=true -Djava.library.path=/usr/lib/graylog/lib/sigar -jar /usr/lib/graylog/server.jar server -f ${CONFIGURATION_DIRECTORY}/server/server.conf -p ${RUNTIME_DIRECTORY}/server.pid
Restart=on-failure
StateDirectory=graylog
RuntimeDirectory=graylog
ConfigurationDirectory=graylog
NoNewPrivileges=yes
CapabilityBoundingSet=
SystemCallArchitectures=native
SystemCallFilter=@system-service
PrivateDevices=yes
PrivateUsers=yes
PrivateTmp=yes
ProtectSystem=strict
ProtectClock=yes
ProtectHome=true
ProtectKernelLogs=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
RestrictNamespaces=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
[Install]
WantedBy=multi-user.target
|