2017-11-18 19:35:03 +03:00
# SPDX-License-Identifier: LGPL-2.1+
#
2012-09-28 02:46:32 +04: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 Gateway Service
2015-12-15 04:51:12 +03:00
Documentation = man:systemd-journal-gatewayd(8)
2012-09-28 02:46:32 +04:00
Requires = systemd-journal-gatewayd.socket
[Service]
ExecStart = @rootlibexecdir@/systemd-journal-gatewayd
2017-10-05 16:05:02 +03:00
User = systemd-journal-gateway
2013-03-05 22:15:31 +04:00
SupplementaryGroups = systemd-journal
2017-07-28 06:28:17 +03:00
DynamicUser = yes
2014-03-20 02:08:39 +04:00
PrivateDevices = yes
PrivateNetwork = yes
2014-06-04 20:07:55 +04:00
ProtectHome = yes
2016-08-26 14:23:27 +03:00
ProtectControlGroups = yes
ProtectKernelTunables = yes
2017-02-09 13:09:50 +03:00
ProtectKernelModules = yes
2016-08-26 14:23:27 +03:00
MemoryDenyWriteExecute = yes
RestrictRealtime = yes
2017-02-09 12:28:23 +03:00
RestrictNamespaces = yes
2016-08-26 14:23:27 +03:00
RestrictAddressFamilies = AF_UNIX AF_INET AF_INET6
2017-02-09 00:32:37 +03:00
SystemCallArchitectures = native
2017-09-14 20:45:40 +03:00
LockPersonality = yes
2012-09-28 02:46:32 +04:00
2018-10-01 19:08:27 +03:00
# If there are many split up journal files we need a lot of fds to access them
# all in parallel.
2018-10-17 11:21:48 +03:00
LimitNOFILE = @HIGH_RLIMIT_NOFILE@
2015-01-08 05:17:50 +03:00
2012-09-28 02:46:32 +04:00
[Install]
Also = systemd-journal-gatewayd.socket