mirror of
https://github.com/IntenseWebs/server-configs.git
synced 2024-07-07 04:02:56 -05:00
27 lines
773 B
Desktop File
27 lines
773 B
Desktop File
[Unit]
|
|
Description=Git Repository of IntenseWebs.com, IWEB.CITY and NuKVM.org
|
|
After=syslog.target
|
|
After=network.target
|
|
|
|
[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=2s
|
|
Type=notify
|
|
User=gitea
|
|
Group=gitea
|
|
#The mount point we added to the container
|
|
WorkingDirectory=/var/lib/gitea
|
|
#Create directory in /run
|
|
RuntimeDirectory=gitea
|
|
ExecStart=/usr/local/bin/gitea web --config /etc/gitea/app.ini
|
|
Restart=always
|
|
Environment=USER=gitea HOME=/var/lib/gitea/data GITEA_WORK_DIR=/var/lib/gitea
|
|
WatchdogSec=30s
|
|
#Capabilities to bind to low-numbered ports
|
|
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|