Skip to content

Commit

Permalink
add CAP_NET_BIND_SERVICE to coder.service (#2699)
Browse files Browse the repository at this point in the history
* add CAP_NET_BIND_SERVICE to systemd unit

Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
  • Loading branch information
johnstcn and mafredri committed Jun 28, 2022
1 parent a494489 commit 0052e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coder.service
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ProtectSystem=full
PrivateTmp=yes
PrivateDevices=yes
SecureBits=keep-caps
AmbientCapabilities=CAP_IPC_LOCK
AmbientCapabilities=CAP_IPC_LOCK CAP_NET_BIND_SERVICE
CacheDirectory=coder
CapabilityBoundingSet=CAP_SYSLOG CAP_IPC_LOCK CAP_NET_BIND_SERVICE
KillSignal=SIGINT
Expand Down

0 comments on commit 0052e6a

Please sign in to comment.