From 0474dc8d0c7031f7fcb58484c9c6552b1b9869eb Mon Sep 17 00:00:00 2001 From: genofire Date: Fri, 18 Sep 2020 15:46:50 +0000 Subject: [PATCH] fix custom path --- templates/gitea.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/gitea.service.j2 b/templates/gitea.service.j2 index f7c004d..bf639c5 100644 --- a/templates/gitea.service.j2 +++ b/templates/gitea.service.j2 @@ -4,7 +4,7 @@ After=network.target [Service] User={{ gitea_user }} -ExecStart=/usr/local/bin/gitea web -c /etc/gitea/gitea.ini +ExecStart=/usr/local/bin/gitea web -c /etc/gitea/gitea.ini --custom-path {{ gitea_home }}/custom/ Restart=on-failure WorkingDirectory={{ gitea_home }} {% if gitea_systemd_cap_net_bind_service %}