initial project commit

This commit is contained in:
2022-10-05 14:20:58 -04:00
commit ccd5bd7951
6 changed files with 232 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]
RestartSec=2s
Type=simple
User={{ __gitea_user.name }}
Group={{ __gitea_user.name }}
ExecStart=/usr/local/bin/gitea web --config /etc/gitea/app.ini
Restart=always
Environment=USER={{ __gitea_user.name }} HOME={{ __gitea_user.home }} GITEA_WORK_DIR=/var/lib/gitea
[Install]
WantedBy=multi-user.target