2017-11-18 17:35:03 +01:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1+
|
|
|
|
#
|
2014-03-31 05:08:02 +02:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Journal Remote Sink Service
|
2015-12-15 02:51:12 +01:00
|
|
|
Documentation=man:systemd-journal-remote(8) man:journal-remote.conf(5)
|
2014-03-31 05:08:02 +02:00
|
|
|
Requires=systemd-journal-remote.socket
|
|
|
|
|
|
|
|
[Service]
|
2016-08-26 13:23:27 +02:00
|
|
|
ExecStart=@rootlibexecdir@/systemd-journal-remote --listen-https=-3 --output=/var/log/journal/remote/
|
2014-03-31 05:08:02 +02:00
|
|
|
User=systemd-journal-remote
|
2016-08-26 13:23:27 +02:00
|
|
|
WatchdogSec=3min
|
2014-03-31 05:08:02 +02:00
|
|
|
PrivateTmp=yes
|
|
|
|
PrivateDevices=yes
|
|
|
|
PrivateNetwork=yes
|
2017-02-09 10:58:28 +01:00
|
|
|
ProtectSystem=strict
|
2016-08-26 13:23:27 +02:00
|
|
|
ProtectHome=yes
|
|
|
|
ProtectControlGroups=yes
|
|
|
|
ProtectKernelTunables=yes
|
2017-02-09 11:09:50 +01:00
|
|
|
ProtectKernelModules=yes
|
2016-08-26 13:23:27 +02:00
|
|
|
MemoryDenyWriteExecute=yes
|
|
|
|
RestrictRealtime=yes
|
2017-02-09 10:28:23 +01:00
|
|
|
RestrictNamespaces=yes
|
2016-08-26 13:23:27 +02:00
|
|
|
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
2017-02-08 22:32:37 +01:00
|
|
|
SystemCallArchitectures=native
|
2017-09-14 19:45:40 +02:00
|
|
|
LockPersonality=yes
|
2017-08-02 10:35:11 +02:00
|
|
|
LogsDirectory=journal/remote
|
2014-03-31 05:08:02 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
Also=systemd-journal-remote.socket
|