Write criproxy log only to journald
Change-Id: I7251d0b4f23c872a961776245f1249e0077c8883
Related-PROD: PROD-27425 (PROD:27425)
diff --git a/kubernetes/files/systemd/criproxy.service b/kubernetes/files/systemd/criproxy.service
index 3bb3961..2279313 100644
--- a/kubernetes/files/systemd/criproxy.service
+++ b/kubernetes/files/systemd/criproxy.service
@@ -16,7 +16,7 @@
[Service]
SyslogIdentifier=criproxy
User=root
-ExecStart=/usr/bin/criproxy -alsologtostderr \
+ExecStart=/usr/bin/criproxy -logtostderr \
{%- if common.get('containerd', {}).get('enabled') %}
-connect /run/containerd/containerd.sock,virtlet.cloud:/run/virtlet.sock \
{%- else %}
@@ -24,7 +24,6 @@
{%- endif %}
-listen /var/run/criproxy.sock \
-v 3 \
- -log_dir=/var/log/criproxy \
{%- if salt['pkg.version_cmp'](version,'1.8') < 0 %}
-apiVersion {{ version }} \
{%- endif %}