aboutsummaryrefslogtreecommitdiffstats
path: root/meta-parsec/recipes-parsec/parsec-service/files/systemd.patch
blob: c01ff065c99966fe60d6b507923d84850f8b5141 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Run the Parsec service as parsec user in /var/lib/parsec/ working directory.

Signed-off-by: Anton Antonov <Anton.Antonov@arm.com>
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]