summarylogtreecommitdiffstats
path: root/gitea.service.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gitea.service.patch')
-rw-r--r--gitea.service.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/gitea.service.patch b/gitea.service.patch
new file mode 100644
index 000000000000..878fceb75da6
--- /dev/null
+++ b/gitea.service.patch
@@ -0,0 +1,20 @@
+--- gitea.service 2016-11-14 23:06:31.487951000 +0100
++++ gitea.service 2016-11-14 23:10:28.549514228 +0100
+@@ -15,12 +15,12 @@
+ #LimitMEMLOCK=infinity
+ #LimitNOFILE=65535
+ Type=simple
+-User=git
+-Group=git
+-WorkingDirectory=/home/git/gitea
+-ExecStart=/home/git/gitea/gitea web
++User=gitea
++Group=gitea
++WorkingDirectory=/var/lib/gitea
++ExecStart=/usr/bin/gitea web --config /var/lib/gitea/custom/conf/app.ini
+ Restart=always
+-Environment=USER=git HOME=/home/git
++Environment=USER=gitea HOME=/var/lib/gitea GITEA_CUSTOM=/var/lib/gitea/custom
+
+ [Install]
+ WantedBy=multi-user.target