mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
pool: added bufio.Reader pool
This commit is contained in:
1 parent
c15c55fe05
commit
417ac556f7
29 files changed
+188
-168
No files matched your search
@@ -7,10 +7,12 @@ Type=simple
|
||||
User=nobody
|
||||
Restart=always
|
||||
LimitNOFILE=102400
|
||||
Environment="GODEBUG=madvdontneed=1"
|
||||
|
||||
# NOTE: change to your glider path
|
||||
# NOTE: CHANGE to your glider path
|
||||
ExecStart=/usr/bin/glider -config /etc/glider/%i.conf
|
||||
|
||||
# NOTE:
|
||||
# work with systemd v229 or later, so glider can listen on port below 1024 with none-root user
|
||||
# CAP_NET_ADMIN: ipset
|
||||
# CAP_NET_BIND_SERVICE: bind ports under 1024
|
||||
|
||||
Reference in new issue
Block a user