summaryrefslogtreecommitdiffstats
path: root/meta-parsec/recipes-parsec/parsec-service/files/systemd.patch
diff options
context:
space:
mode:
authorAnton Antonov <anton.antonov@arm.com>2021-04-09 12:14:07 +0100
committerArmin Kuster <akuster808@gmail.com>2021-04-12 07:06:46 -0700
commit409a8d4276efd9bf8c06a7ccf6ea85fb6e83b04a (patch)
tree3e5f053f021cf8f1154d16bc65f40ee9969142d0 /meta-parsec/recipes-parsec/parsec-service/files/systemd.patch
parent6ad6bb0141defbcf25828e39314145eb43dea06b (diff)
downloadmeta-security-409a8d4276efd9bf8c06a7ccf6ea85fb6e83b04a.tar.gz
Add meta-parsec layer into meta-security.
The layer contains recipes for Parsec service version 0.7.0 and parsec-tool version 0.3.0. The Parsec service is built with all supported providers and deployed with the MbedCrypto provider enabled. Both systemd and sysv-init are supported. Signed-off-by: Anton Antonov <Anton.Antonov@arm.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
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]