File service.graylog of Package graylog

[Unit]
Description=%p node
After=network.target elasticsearch.service
# mongodb.service
Wants=mongodb.service

[Service]
Type=simple
EnvironmentFile=/etc/sysconfig/%p
User=graylog
ExecStart=/usr/lib/graylog/server/bin/graylogctl run
TimeoutSec=30
TimeoutStopSec=20
# When a JVM receives a SIGTERM (15) it exits with 143
# 128+ sig 15 == 143 ? :)
SuccessExitStatus=143

[Install]
WantedBy=multi-user.target