Andrew Geissler | f1e4406 | 2021-04-15 15:52:46 -0500 | [diff] [blame] | 1 | |
| 2 | Run the Parsec service as parsec user in /var/lib/parsec/ working directory. |
| 3 | |
| 4 | Signed-off-by: Anton Antonov <Anton.Antonov@arm.com> |
| 5 | Upstream-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] |