Skip to content

Commit a1c07bb

Browse files
lyan3jren1
authored andcommitted
DM:tools: add service file for acrnlog
acrnlog should run automatically at boot. Signed-off-by: Yan, Like <like.yan@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
1 parent 8c91847 commit a1c07bb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Unit]
2+
Description=ACRN hypervisor log
3+
4+
[Service]
5+
Type=simple
6+
ExecStart=/usr/bin/acrnlog
7+
ExecStop=/usr/bin/killall -s TERM acrnlog
8+
9+
[Install]
10+
WantedBy=multi-user.target
11+

0 commit comments

Comments
 (0)