mirror of
https://github.com/luzifer-ansible/journalbeat.git
synced 2024-12-23 01:41:15 +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
|
Requires=network-online.target
|
||||||
|
|
||||||
[Service]
|
[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
|
Restart=on-failure
|
||||||
RestartSecs=5
|
RestartSecs=5
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue