fix custom path

This commit is contained in:
genofire 2020-09-18 15:46:50 +00:00
parent 73aa14f13f
commit df5db3d4b9

View file

@ -5,7 +5,7 @@ After=network.target
[Service] [Service]
User={{ gitea_user }} User={{ gitea_user }}
Group={{ gitea_group }} Group={{ gitea_group }}
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 Restart=on-failure
WorkingDirectory={{ gitea_home }} WorkingDirectory={{ gitea_home }}
{% if gitea_systemd_cap_net_bind_service %} {% if gitea_systemd_cap_net_bind_service %}