From a1c07bb9b0e436fb009a8c7797c67acb520ed585 Mon Sep 17 00:00:00 2001 From: "Yan, Like" Date: Thu, 29 Mar 2018 16:14:54 +0800 Subject: [PATCH] DM:tools: add service file for acrnlog acrnlog should run automatically at boot. Signed-off-by: Yan, Like Reviewed-by: Zhao Yakui Acked-by: Eddie Dong --- devicemodel/tools/acrnlog/acrnlog.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 devicemodel/tools/acrnlog/acrnlog.service diff --git a/devicemodel/tools/acrnlog/acrnlog.service b/devicemodel/tools/acrnlog/acrnlog.service new file mode 100644 index 000000000..8d392f11a --- /dev/null +++ b/devicemodel/tools/acrnlog/acrnlog.service @@ -0,0 +1,11 @@ +[Unit] +Description=ACRN hypervisor log + +[Service] +Type=simple +ExecStart=/usr/bin/acrnlog +ExecStop=/usr/bin/killall -s TERM acrnlog + +[Install] +WantedBy=multi-user.target +