gitea: Initial version of role
This commit is contained in:
parent
422e1dc9e6
commit
cc02aae481
6 changed files with 200 additions and 0 deletions
16
roles/gitea/files/gitea.service
Normal file
16
roles/gitea/files/gitea.service
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue