2012-09-27 22:46:32 +00: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 01:51:12 +00:00
|
|
|
Documentation=man:systemd-journal-gatewayd(8)
|
2012-09-27 22:46:32 +00:00
|
|
|
Requires=systemd-journal-gatewayd.socket
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
ExecStart=@rootlibexecdir@/systemd-journal-gatewayd
|
2013-03-05 18:15:31 +00:00
|
|
|
User=systemd-journal-gateway
|
|
|
|
Group=systemd-journal-gateway
|
|
|
|
SupplementaryGroups=systemd-journal
|
2014-03-19 22:08:39 +00:00
|
|
|
PrivateTmp=yes
|
|
|
|
PrivateDevices=yes
|
|
|
|
PrivateNetwork=yes
|
2014-06-04 16:07:55 +00:00
|
|
|
ProtectSystem=full
|
|
|
|
ProtectHome=yes
|
2016-08-26 11:23:27 +00:00
|
|
|
ProtectControlGroups=yes
|
|
|
|
ProtectKernelTunables=yes
|
|
|
|
MemoryDenyWriteExecute=yes
|
|
|
|
RestrictRealtime=yes
|
|
|
|
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
2012-09-27 22:46:32 +00:00
|
|
|
|
2015-01-08 02:17:50 +00:00
|
|
|
# If there are many split upjournal files we need a lot of fds to
|
|
|
|
# access them all and combine
|
|
|
|
LimitNOFILE=16384
|
|
|
|
|
2012-09-27 22:46:32 +00:00
|
|
|
[Install]
|
|
|
|
Also=systemd-journal-gatewayd.socket
|