Differential D6635 Diff 24110 site-modules/profile/templates/systemd_journal/journalbeat/journalbeat.conf.erb
Changeset View
Changeset View
Standalone View
Standalone View
site-modules/profile/templates/systemd_journal/journalbeat/journalbeat.conf.erb
- This file was moved from site-modules/profile/templates/systemd_journal/journalbeat/journalbeat.service.erb.
# Managed by puppet (class profile::systemd_journal::journalbeat), changes will be lost | # Managed by puppet (class profile::systemd_journal::journalbeat), changes will be lost | ||||
[Unit] | |||||
Description=Send systemd journal messages to logstash | |||||
After=nss-lookup.target | |||||
[Service] | [Service] | ||||
Type=simple | |||||
Restart=always | |||||
RestartSec=20s | |||||
ExecStart=/usr/bin/journalbeat -e -c <%= @configfile %> | |||||
User=<%= @user %> | User=<%= @user %> | ||||
Group=systemd-journal | Group=systemd-journal | ||||
ReadOnlyDirectories=/ | ReadOnlyDirectories=/ | ||||
ReadWriteDirectories=-<%= @homedir %> | ReadWriteDirectories=-<%= @homedir %> | ||||
WorkingDirectory=<%= @homedir %> | WorkingDirectory=<%= @homedir %> | ||||
[Install] | |||||
WantedBy=multi-user.target |