You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
614 B

[Unit]
Description=Gitea - A painless self-hosted Git service
Wants=network.target postgresql.service keycloak.service
After=network-online.target
[Service]
Environment=GITEA_APP_INI=/opt/gitea/etc/app.ini
Environment=GITEA_TEMP=/tmp/gitea
Environment=GITEA_CUSTOM=/srv/gitea/custom
Environment=GITEA_WORK_DIR=/srv/gitea
Restart=always
Type=simple
ExecStart=/opt/gitea/bin/gitea -c /opt/gitea/etc/app.ini
WorkingDirectory=/srv/gitea/git
User=git
Group=itix-svc
# If some dependencies of this service are not ready, leave them some time to start
RestartSec=10
[Install]
WantedBy=multi-user.target default.target