From 3426706d8d4383ddcf8efc37db4aa2816d323172 Mon Sep 17 00:00:00 2001 From: Dct Mei Date: Mon, 27 Apr 2020 20:46:08 +0800 Subject: [PATCH] style: Delete extra fields 1. This modification will not cause a functional change of Systemd Service. 2. If ExecStart= is specified, Type=simple is the default. --- systemd/system/v2ray.service | 1 - systemd/system/v2ray@.service | 1 - 2 files changed, 2 deletions(-) diff --git a/systemd/system/v2ray.service b/systemd/system/v2ray.service index a9f7109..4d49a2b 100644 --- a/systemd/system/v2ray.service +++ b/systemd/system/v2ray.service @@ -3,7 +3,6 @@ Description=V2Ray Service After=network.target nss-lookup.target [Service] -Type=simple User=nobody CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE diff --git a/systemd/system/v2ray@.service b/systemd/system/v2ray@.service index 417b6e4..65e38f1 100644 --- a/systemd/system/v2ray@.service +++ b/systemd/system/v2ray@.service @@ -3,7 +3,6 @@ Description=V2Ray Service After=network.target nss-lookup.target [Service] -Type=simple User=nobody CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE