mirror of
https://github.com/systemd/systemd
synced 2024-10-07 08:40:44 +00:00
unit: remove redundant options
This commit is contained in:
parent
29444df23b
commit
debe5d2376
|
@ -12,14 +12,10 @@ Requires=systemd-journal-gatewayd.socket
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=@rootlibexecdir@/systemd-journal-gatewayd
|
ExecStart=@rootlibexecdir@/systemd-journal-gatewayd
|
||||||
User=systemd-journal-gateway
|
|
||||||
Group=systemd-journal-gateway
|
|
||||||
SupplementaryGroups=systemd-journal
|
SupplementaryGroups=systemd-journal
|
||||||
DynamicUser=yes
|
DynamicUser=yes
|
||||||
PrivateTmp=yes
|
|
||||||
PrivateDevices=yes
|
PrivateDevices=yes
|
||||||
PrivateNetwork=yes
|
PrivateNetwork=yes
|
||||||
ProtectSystem=strict
|
|
||||||
ProtectHome=yes
|
ProtectHome=yes
|
||||||
ProtectControlGroups=yes
|
ProtectControlGroups=yes
|
||||||
ProtectKernelTunables=yes
|
ProtectKernelTunables=yes
|
||||||
|
|
|
@ -13,7 +13,6 @@ Requires=systemd-journal-remote.socket
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=@rootlibexecdir@/systemd-journal-remote --listen-https=-3 --output=/var/log/journal/remote/
|
ExecStart=@rootlibexecdir@/systemd-journal-remote --listen-https=-3 --output=/var/log/journal/remote/
|
||||||
User=systemd-journal-remote
|
User=systemd-journal-remote
|
||||||
Group=systemd-journal-remote
|
|
||||||
WatchdogSec=3min
|
WatchdogSec=3min
|
||||||
PrivateTmp=yes
|
PrivateTmp=yes
|
||||||
PrivateDevices=yes
|
PrivateDevices=yes
|
||||||
|
|
Loading…
Reference in a new issue