mirror of
https://github.com/luzifer-ansible/journalbeat.git
synced 2024-11-08 13:50:07 +00:00
Specify storage paths
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
a9a1afb11e
commit
79a9b72e30
1 changed files with 4 additions and 1 deletions
|
@ -36,7 +36,10 @@
|
|||
Requires=network-online.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/journalbeat -c /etc/journalbeat.yaml
|
||||
ExecStart=/usr/local/bin/journalbeat \
|
||||
-c /etc/journalbeat.yaml \
|
||||
-path.home /var/lib/journalbeat \
|
||||
-path.logs /var/log
|
||||
Restart=on-failure
|
||||
RestartSecs=5
|
||||
|
||||
|
|
Loading…
Reference in a new issue