Initial commit

This commit is contained in:
Julian Rother 2025-01-09 20:39:34 +01:00
commit 9235c2011e
Signed by: julian
GPG key ID: C19B924C0CD13341
5 changed files with 125 additions and 0 deletions

18
files/forgejo.service Normal file
View file

@ -0,0 +1,18 @@
[Unit]
Description=Forgejo
After=syslog.target
After=network.target
# TODO: After=DB/redis/...
[Service]
RestartSec=2s
Type=simple
User=git
Group=git
WorkingDirectory=~
ExecStart=/usr/local/sbin/forgejo web --config /etc/forgejo/app.ini
Restart=always
[Install]
WantedBy=multi-user.target