You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
582 B
15 lines
582 B
5 years ago
|
[Unit]
|
||
|
Description=Journalbeat ships systemd journal entries to Elasticsearch or Logstash.
|
||
|
Documentation=https://www.elastic.co/products/beats/journalbeat
|
||
|
Wants=network-online.target
|
||
|
After=network-online.target
|
||
|
|
||
|
[Service]
|
||
|
Environment="BEAT_CONFIG_OPTS=-c /etc/journalbeat/journalbeat.yml"
|
||
|
Environment="BEAT_PATH_OPTS=-path.home /usr/share/journalbeat -path.config /etc/journalbeat -path.data /var/lib/journalbeat -path.logs /var/log/journalbeat"
|
||
|
ExecStart=/usr/share/journalbeat/bin/journalbeat $BEAT_CONFIG_OPTS $BEAT_PATH_OPTS
|
||
|
Restart=always
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|