gitea: Initial version of role

This commit is contained in:
Timo Makinen 2023-02-19 13:22:37 +00:00
parent 422e1dc9e6
commit cc02aae481
6 changed files with 200 additions and 0 deletions

View file

@ -0,0 +1,16 @@
[Unit]
Description=Gitea (Git with a cup of tea)
After=syslog.target
After=network.target
[Service]
Type=simple
User=gitea
Group=gitea
WorkingDirectory=/srv/gitea
ExecStart=/usr/local/bin/gitea web --config /etc/gitea/app.ini
Restart=always
Environment=HOME=/srv/gitea GITEA_WORK_DIR=/srv/gitea
[Install]
WantedBy=multi-user.target