From 8af90e0154024852e366e6d7927051f463a9ba83 Mon Sep 17 00:00:00 2001 From: Tan Yew Wayne Date: Tue, 7 Aug 2018 15:34:11 +0800 Subject: [PATCH] misc: Remove unnecessary ExecStop in systemd services From systemd documentation: https://www.freedesktop.org/software/systemd/man/systemd.service.html#ExecStop= > If this option is not specified, the process is terminated by sending the signal specified in KillSignal= when service stop is requested. https://www.freedesktop.org/software/systemd/man/systemd.kill.html#KillSignal= > Defaults to SIGTERM. Signed-off-by: Tan Yew Wayne --- misc/cbc_lifecycle/cbc_lifecycle.service | 1 - tools/acrn-crashlog/data/acrnprobe.service | 1 - tools/acrn-crashlog/data/usercrash.service | 1 - tools/acrn-manager/acrnd.service | 1 - tools/acrnlog/acrnlog.service | 1 - 5 files changed, 5 deletions(-) diff --git a/misc/cbc_lifecycle/cbc_lifecycle.service b/misc/cbc_lifecycle/cbc_lifecycle.service index 149092592..48c9c098f 100644 --- a/misc/cbc_lifecycle/cbc_lifecycle.service +++ b/misc/cbc_lifecycle/cbc_lifecycle.service @@ -5,7 +5,6 @@ Description=CBC lifecycle service Type=simple ExecStart=/usr/bin/cbc_lifecycle Restart=no -ExecStop=/usr/bin/killall -s TERM cbc_lifecycle [Install] WantedBy=multi-user.target diff --git a/tools/acrn-crashlog/data/acrnprobe.service b/tools/acrn-crashlog/data/acrnprobe.service index 257a51e02..6e259cfb7 100644 --- a/tools/acrn-crashlog/data/acrnprobe.service +++ b/tools/acrn-crashlog/data/acrnprobe.service @@ -9,7 +9,6 @@ After=prepare.service [Service] Type=simple ExecStart=/usr/bin/acrnprobe -ExecStop=/usr/bin/killall -s TERM acrnprobe [Install] WantedBy=multi-user.target diff --git a/tools/acrn-crashlog/data/usercrash.service b/tools/acrn-crashlog/data/usercrash.service index a3c4268fd..2d0e562c9 100644 --- a/tools/acrn-crashlog/data/usercrash.service +++ b/tools/acrn-crashlog/data/usercrash.service @@ -7,7 +7,6 @@ Before=acrnprobe.service [Service] Type=simple ExecStart=/usr/bin/usercrash_s -ExecStop=/usr/bin/killall -s TERM usercrash_s [Install] WantedBy=multi-user.target diff --git a/tools/acrn-manager/acrnd.service b/tools/acrn-manager/acrnd.service index e882646ce..b2b8eeef1 100644 --- a/tools/acrn-manager/acrnd.service +++ b/tools/acrn-manager/acrnd.service @@ -4,7 +4,6 @@ Description=ACRN manager deamon [Service] Type=simple ExecStart=/usr/bin/acrnd -ExecStop=/usr/bin/killall -s TERM acrnd [Install] WantedBy=multi-user.target diff --git a/tools/acrnlog/acrnlog.service b/tools/acrnlog/acrnlog.service index 8d392f11a..bc163ab85 100644 --- a/tools/acrnlog/acrnlog.service +++ b/tools/acrnlog/acrnlog.service @@ -4,7 +4,6 @@ Description=ACRN hypervisor log [Service] Type=simple ExecStart=/usr/bin/acrnlog -ExecStop=/usr/bin/killall -s TERM acrnlog [Install] WantedBy=multi-user.target