2024-02-21 13:47:54 +06:00
|
|
|
[Service]
|
2024-02-21 13:47:54 +06:00
|
|
|
# If you want to bind Gitea to a port below 1024, uncomment
|
|
|
|
# the two values below, or use socket activation to pass Gitea its ports as above
|
|
|
|
###
|
|
|
|
#CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
|
|
|
#AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
|
|
###
|
|
|
|
# In some cases, when using CapabilityBoundingSet and AmbientCapabilities option, you may want to
|
|
|
|
# set the following value to false to allow capabilities to be applied on gitea process. The following
|
|
|
|
# value if set to true sandboxes gitea service and prevent any processes from running with privileges
|
|
|
|
# in the host user namespace.
|
|
|
|
###
|
|
|
|
#PrivateUsers=false
|
2024-02-21 13:47:54 +06:00
|
|
|
###
|