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.patch14
1 files changed, 5 insertions, 9 deletions
diff --git a/0002-Adjust-service-file-for-Arch-Linux-package.patch b/0002-Adjust-service-file-for-Arch-Linux-package.patch
index 8ebc6a43a9d4..cb297229f78f 100644
--- a/0002-Adjust-service-file-for-Arch-Linux-package.patch
+++ b/0002-Adjust-service-file-for-Arch-Linux-package.patch
@@ -1,20 +1,16 @@
--- gitea.service
-+++ gitea.service 2017-10-02 23:31:14.000000000 +0300
-@@ -15,12 +15,12 @@
- #LimitMEMLOCK=infinity
- #LimitNOFILE=65535
++++ gitea.service 2017-12-11 15:10:35.090000002 +0300
+@@ -18,10 +18,10 @@
Type=simple
--User=git
--Group=git
+ 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
++Environment=USER=git HOME=/var/lib/gitea
[Install]
WantedBy=multi-user.target