Migration gitea => forgejo

This commit is contained in:
Thomas Legay 2023-06-12 15:30:48 +02:00
parent 797dff685b
commit a7592a2b38
15 changed files with 42 additions and 34 deletions

View file

@ -0,0 +1 @@
/etc/forgejo/app.ini

View file

@ -0,0 +1,8 @@
Package: forgejo
Version: %VERSION%
Section: contrib
Priority: optional
Architecture: all
Depends: git
Maintainer: Thomas Legay <thomas@lgy.fr>
Description: forgejo

View file

@ -0,0 +1,6 @@
#!/bin/bash
id forgejo &> /dev/null || useradd forgejo -r -s /bin/false -d /var/lib/forgejo/
chown -R forgejo:forgejo /var/lib/forgejo/
chown forgejo:forgejo /etc/forgejo/app.ini