summarylogtreecommitdiffstats
path: root/gogs.service.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gogs.service.patch')
-rw-r--r--gogs.service.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/gogs.service.patch b/gogs.service.patch
new file mode 100644
index 000000000000..519d02c19a48
--- /dev/null
+++ b/gogs.service.patch
@@ -0,0 +1,14 @@
+12,15c12,15
+< User=git
+< Group=git
+< WorkingDirectory=/home/git/gogs
+< ExecStart=/home/git/gogs/gogs web
+---
+> User=gogs
+> Group=gogs
+> WorkingDirectory=/srv/gogs/
+> ExecStart=/usr/share/gogs/gogs web --config /srv/gogs/conf/app.ini
+17c17
+< Environment=USER=git HOME=/home/git
+---
+> Environment=USER=gogs HOME=/home/gogs