summarylogtreecommitdiffstats
path: root/0002-Adjust-service-file-for-Arch-Linux-package.patch
diff options
context:
space:
mode:
Diffstat (limited to '0002-Adjust-service-file-for-Arch-Linux-package.patch')
-rw-r--r--0002-Adjust-service-file-for-Arch-Linux-package.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/0002-Adjust-service-file-for-Arch-Linux-package.patch b/0002-Adjust-service-file-for-Arch-Linux-package.patch
new file mode 100644
index 000000000000..8ebc6a43a9d4
--- /dev/null
+++ b/0002-Adjust-service-file-for-Arch-Linux-package.patch
@@ -0,0 +1,20 @@
+--- gitea.service
++++ gitea.service 2017-10-02 23:31:14.000000000 +0300
+@@ -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 /etc/gitea/app.ini
+ Restart=always
+-Environment=USER=git HOME=/home/git
++Environment=USER=gitea HOME=/var/lib/gitea
+
+ [Install]
+ WantedBy=multi-user.target