Skip to content

Commit 0052e6a

Browse files
johnstcnmafredri
andauthored
add CAP_NET_BIND_SERVICE to coder.service (#2699)
* add CAP_NET_BIND_SERVICE to systemd unit Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
1 parent a494489 commit 0052e6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coder.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ProtectSystem=full
1616
PrivateTmp=yes
1717
PrivateDevices=yes
1818
SecureBits=keep-caps
19-
AmbientCapabilities=CAP_IPC_LOCK
19+
AmbientCapabilities=CAP_IPC_LOCK CAP_NET_BIND_SERVICE
2020
CacheDirectory=coder
2121
CapabilityBoundingSet=CAP_SYSLOG CAP_IPC_LOCK CAP_NET_BIND_SERVICE
2222
KillSignal=SIGINT

0 commit comments

Comments
 (0)