mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 10:13:26 +02:00
16 lines
515 B
Django/Jinja
16 lines
515 B
Django/Jinja
[Unit]
|
|
Description=Journal Remote Sink Service
|
|
Requires=systemd-journal-remote.socket
|
|
|
|
[Service]
|
|
ExecStart=/usr/lib/systemd/systemd-journal-remote \
|
|
--listen-{{ ((journal_remote_crt is defined and journal_remote_key is defined) or journal_remote_letsencrypt_cert is defined) | ternary('https','http') }}={{ journal_remote_port }} \
|
|
--output=/var/log/journal/remote/
|
|
User=systemd-journal-remote
|
|
Group=systemd-journal-remote
|
|
PrivateTmp=yes
|
|
PrivateDevices=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|