You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
515 B
16 lines
515 B
5 years ago
|
[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
|