12 lines
240 B
Django/Jinja
12 lines
240 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 }}
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|