Specify storage paths

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-01-08 01:37:05 +01:00
parent a9a1afb11e
commit 79a9b72e30
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -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