mirror of
https://github.com/IntenseWebs/gitea-boringproxy.git
synced 2025-02-25 18:55:22 -06:00
Reinitialize Repository and add GPLv3 License
This commit is contained in:
27
iweb/giti.iweb.city.boringproxy.service
Normal file
27
iweb/giti.iweb.city.boringproxy.service
Normal file
@@ -0,0 +1,27 @@
|
||||
[Unit]
|
||||
Description=boringproxy service
|
||||
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
|
||||
RestartSec=1
|
||||
Type=notify
|
||||
User=gitea
|
||||
Group=gitea
|
||||
#The mount point we added to the container
|
||||
WorkingDirectory=/usr/local/bin
|
||||
#Create directory in /run
|
||||
RuntimeDirectory=bin
|
||||
ExecStart=/usr/local/bin/boringproxy client -server lab.iweb.city -token *********************************** -client-name iweb-code -user admin
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user