From ba08c008781604cf0e11d4bd285ab5ee64eb94e9 Mon Sep 17 00:00:00 2001
From: Konrad Zemek <konrad.zemek@gmail.com>
Date: Thu, 16 Apr 2020 13:43:43 +0200
Subject: [PATCH] Add LimitNOFILE to the example service file.

---
 go-mmproxy.service.example | 1 +
 1 file changed, 1 insertion(+)

diff --git a/go-mmproxy.service.example b/go-mmproxy.service.example
index b736130..b3e62b4 100644
--- a/go-mmproxy.service.example
+++ b/go-mmproxy.service.example
@@ -4,6 +4,7 @@ After=network.target
 
 [Service]
 Type=simple
+LimitNOFILE=65535
 ExecStartPost=ip rule add from 127.0.0.1/8 iif lo table 123
 ExecStartPost=ip route add local 0.0.0.0/0 dev lo table 123
 ExecStart=/usr/bin/go-mmproxy -4 127.0.0.1:1000 -6 "[::1]:1000" -allowed-subnets /usr/share/path-prefixes.txt -l 0.0.0.0:1234
-- 
GitLab