mirror of
https://github.com/IntenseWebs/gitea-boringproxy.git
synced 2024-11-23 07:56:24 -06:00
28 lines
689 B
Desktop File
28 lines
689 B
Desktop File
[Unit]
|
|
Description=Git Code Repository of IntenseWebs
|
|
After=syslog.target
|
|
After=network.target
|
|
StartLimitIntervalSec=0
|
|
|
|
[Service]
|
|
# Uncomment the next line if you have repos with lots of files and get a HTTP 500 error because of that
|
|
# LimitNOFILE=524288:524288
|
|
RemainAfterExit=yes
|
|
RestartSec=1
|
|
Type=notify
|
|
User=opc
|
|
Group=opc
|
|
#The mount point we added to the container
|
|
WorkingDirectory=/usr/local/bin
|
|
#Create directory in /run
|
|
RuntimeDirectory=bin
|
|
ExecStart=/usr/local/bin/boringproxy server
|
|
Restart=always
|
|
WatchdogSec=30s
|
|
#Capabilities to bind to low-numbered ports
|
|
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|