summaryrefslogtreecommitdiff
path: root/systemd/system/qemu@.service
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-05-23 13:47:01 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-08-21 00:41:24 -0400
commit5016c1da15b3fadefb98f1fe18697b0cfe04187d (patch)
treed37c996ff959db81843876a8f5528e5fd6344a78 /systemd/system/qemu@.service
parent74f4141aa3fdf0033ab367157cd5e4a4313e3b76 (diff)
Add Type=notify for initialization errors, log ttyS0
Diffstat (limited to 'systemd/system/qemu@.service')
-rw-r--r--systemd/system/qemu@.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/systemd/system/qemu@.service b/systemd/system/qemu@.service
index 7adcbfb..95cbefc 100644
--- a/systemd/system/qemu@.service
+++ b/systemd/system/qemu@.service
@@ -5,7 +5,8 @@ PartOf=machines.target
Before=machines.target
[Service]
-Type=forking
+Type=notify
+NotifyAccess=all
RuntimeDirectory=qemu-%I
PIDFile=/run/qemu-%I/pid
ExecStart=/etc/systemd/system/qemu %I