unit: remove redundant options
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 2 Aug 2017 09:06:47 +0000 (18:06 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 8 Aug 2017 03:17:12 +0000 (12:17 +0900)
units/systemd-journal-gatewayd.service.in
units/systemd-journal-remote.service.in

index 42da350..fd7a971 100644 (file)
@@ -12,14 +12,10 @@ Requires=systemd-journal-gatewayd.socket
 
 [Service]
 ExecStart=@rootlibexecdir@/systemd-journal-gatewayd
-User=systemd-journal-gateway
-Group=systemd-journal-gateway
 SupplementaryGroups=systemd-journal
 DynamicUser=yes
-PrivateTmp=yes
 PrivateDevices=yes
 PrivateNetwork=yes
-ProtectSystem=strict
 ProtectHome=yes
 ProtectControlGroups=yes
 ProtectKernelTunables=yes
index 62e862a..c24e673 100644 (file)
@@ -13,7 +13,6 @@ Requires=systemd-journal-remote.socket
 [Service]
 ExecStart=@rootlibexecdir@/systemd-journal-remote --listen-https=-3 --output=/var/log/journal/remote/
 User=systemd-journal-remote
-Group=systemd-journal-remote
 WatchdogSec=3min
 PrivateTmp=yes
 PrivateDevices=yes