Nils Freydank 8f3c014f02
www-apps/gitea: Bump in-tree package
Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
2024-06-02 17:33:01 +02:00

35 lines
730 B
Plaintext

[Unit]
Description=Gitea service
Documentation=https://docs.gitea.io/
AssertPathIsDirectory=/var/lib/gitea
AssertPathIsReadWrite=/var/lib/gitea
After=network.target
Requires=network.target
After=mysqld.service
After=postgresql-10.service
After=postgresql-11.service
After=postgresql-12.service
After=postgresql-13.service
After=postgresql-14.service
After=postgresql-15.service
After=postgresql-16.service
After=memcached.service
After=redis.service
[Service]
User=git
Group=git
Environment="GITEA_WORK_DIR=/var/lib/gitea" "GITEA_CUSTOM=/var/lib/gitea/custom"
WorkingDirectory=/var/lib/gitea
ExecStart=/usr/bin/gitea --config /etc/gitea/app.ini web
Restart=always
PrivateTmp=true
Nice=5
[Install]
WantedBy=multi-user.target