Update gogs.service.tpl

This commit is contained in:
midoks
2022-06-25 22:13:47 +08:00
parent e06a4a9881
commit 20daf6f4d2
+1 -1
View File
@@ -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.