mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-08-16 11:39:50 +02:00
efc0363f4b
lower than 1024
13 lines
281 B
Django/Jinja
13 lines
281 B
Django/Jinja
[Unit]
|
|
Description=Gitea git server
|
|
After=network.target
|
|
|
|
[Service]
|
|
User={{ gitea_user }}
|
|
ExecStart=/usr/local/bin/gitea web -c /etc/gitea/gitea.ini
|
|
Restart=on-failure
|
|
WorkingDirectory={{ gitea_home }}
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|