summaryrefslogtreecommitdiffstats
path: root/meta-parsec/recipes-parsec/parsec-service/files/systemd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-parsec/recipes-parsec/parsec-service/files/systemd.patch')
-rw-r--r--meta-parsec/recipes-parsec/parsec-service/files/systemd.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-parsec/recipes-parsec/parsec-service/files/systemd.patch b/meta-parsec/recipes-parsec/parsec-service/files/systemd.patch
new file mode 100644
index 0000000..c01ff06
--- /dev/null
+++ b/meta-parsec/recipes-parsec/parsec-service/files/systemd.patch
@@ -0,0 +1,19 @@
1
2Run the Parsec service as parsec user in /var/lib/parsec/ working directory.
3
4Signed-off-by: Anton Antonov <Anton.Antonov@arm.com>
5Upstream-Status: Inappropriate [deployment configuration]
6
7--- a/systemd-daemon/parsec.service 2021-03-28 18:34:18.703196235 +0100
8+++ b/systemd-daemon/parsec.service 2021-03-28 18:35:14.279830299 +0100
9@@ -3,7 +3,9 @@
10 Documentation=https://parallaxsecond.github.io/parsec-book/parsec_service/install_parsec_linux.html
11
12 [Service]
13-WorkingDirectory=/home/parsec/
14+User=parsec
15+Group=parsec
16+WorkingDirectory=/var/lib/parsec/
17 ExecStart=/usr/libexec/parsec/parsec --config /etc/parsec/config.toml
18
19 [Install]