From 20daf6f4d2433f4bba7ffc0a689d83f44449811d Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 25 Jun 2022 22:13:47 +0800 Subject: [PATCH] Update gogs.service.tpl --- plugins/gogs/init.d/gogs.service.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gogs/init.d/gogs.service.tpl b/plugins/gogs/init.d/gogs.service.tpl index 0bfca87e5..e4e3a75cb 100644 --- a/plugins/gogs/init.d/gogs.service.tpl +++ b/plugins/gogs/init.d/gogs.service.tpl @@ -17,7 +17,7 @@ Group=root WorkingDirectory={$SERVER_PATH}/gogs ExecStart={$SERVER_PATH}/gogs/gogs web Restart=always -Environment=USER=git HOME=/home/git +Environment=USER=git HOME=/usr/bin/git # Some distributions may not support these hardening directives. If you cannot start the service due # to an unknown option, comment out the ones not supported by your version of systemd.