diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-09-09 03:14:41 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-09-09 03:14:41 -0400 |
commit | 8c39118ab79aef7795381306dd896be06952f282 (patch) | |
tree | 2e4e49a4c42fa13011a0d22e31266498d235e42d | |
parent | 895464f92f960725cf45f427dfeefcab9bce224e (diff) |
Run each instance as a separate user
Apparently, systemd was happy to run all machines as a single 'qemu' user.
-rw-r--r-- | qemu@.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu@.service.in b/qemu@.service.in index cc4c925..23e235e 100644 --- a/qemu@.service.in +++ b/qemu@.service.in @@ -8,6 +8,7 @@ Before=machines.target Type=notify NotifyAccess=all DynamicUser=yes +User=qemu-%I RuntimeDirectory=qemu-%I PIDFile=@runstatedir@/qemu-%I/pid ExecStart=!@BINPROG@ %I |