From 409a8d4276efd9bf8c06a7ccf6ea85fb6e83b04a Mon Sep 17 00:00:00 2001 From: Anton Antonov Date: Fri, 9 Apr 2021 12:14:07 +0100 Subject: 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 Signed-off-by: Armin Kuster --- .../recipes-parsec/parsec-service/files/systemd.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta-parsec/recipes-parsec/parsec-service/files/systemd.patch (limited to 'meta-parsec/recipes-parsec/parsec-service/files/systemd.patch') 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 @@ + +Run the Parsec service as parsec user in /var/lib/parsec/ working directory. + +Signed-off-by: Anton Antonov +Upstream-Status: Inappropriate [deployment configuration] + +--- a/systemd-daemon/parsec.service 2021-03-28 18:34:18.703196235 +0100 ++++ b/systemd-daemon/parsec.service 2021-03-28 18:35:14.279830299 +0100 +@@ -3,7 +3,9 @@ + Documentation=https://parallaxsecond.github.io/parsec-book/parsec_service/install_parsec_linux.html + + [Service] +-WorkingDirectory=/home/parsec/ ++User=parsec ++Group=parsec ++WorkingDirectory=/var/lib/parsec/ + ExecStart=/usr/libexec/parsec/parsec --config /etc/parsec/config.toml + + [Install] -- cgit v1.2.3-54-g00ecf