summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-08-02 18:06:47 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2017-08-08 12:17:12 +0900
commitdebe5d23760f7a1261bcd26f5f523acf225e75de (patch)
tree40fd7744cacfe6c05c602349e79362ce03fb3a76
parent29444df23bea21c15a3284ad8acfe2f008e5dbae (diff)
downloadsystemd-debe5d23760f7a1261bcd26f5f523acf225e75de.tar.gz
systemd-debe5d23760f7a1261bcd26f5f523acf225e75de.tar.bz2
systemd-debe5d23760f7a1261bcd26f5f523acf225e75de.zip
unit: remove redundant options
-rw-r--r--units/systemd-journal-gatewayd.service.in4
-rw-r--r--units/systemd-journal-remote.service.in1
2 files changed, 0 insertions, 5 deletions
diff --git a/units/systemd-journal-gatewayd.service.in b/units/systemd-journal-gatewayd.service.in
index 42da3504b8..fd7a9718f7 100644
--- a/units/systemd-journal-gatewayd.service.in
+++ b/units/systemd-journal-gatewayd.service.in
@@ -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
diff --git a/units/systemd-journal-remote.service.in b/units/systemd-journal-remote.service.in
index 62e862a837..c24e673d82 100644
--- a/units/systemd-journal-remote.service.in
+++ b/units/systemd-journal-remote.service.in
@@ -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