mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-09 12:08:30 +00:00
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 <yew.wayne.tan@intel.com>
This commit is contained in:
parent
4106fadeb3
commit
8af90e0154
@ -5,7 +5,6 @@ Description=CBC lifecycle service
|
|||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/cbc_lifecycle
|
ExecStart=/usr/bin/cbc_lifecycle
|
||||||
Restart=no
|
Restart=no
|
||||||
ExecStop=/usr/bin/killall -s TERM cbc_lifecycle
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -9,7 +9,6 @@ After=prepare.service
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/acrnprobe
|
ExecStart=/usr/bin/acrnprobe
|
||||||
ExecStop=/usr/bin/killall -s TERM acrnprobe
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -7,7 +7,6 @@ Before=acrnprobe.service
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/usercrash_s
|
ExecStart=/usr/bin/usercrash_s
|
||||||
ExecStop=/usr/bin/killall -s TERM usercrash_s
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -4,7 +4,6 @@ Description=ACRN manager deamon
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/acrnd
|
ExecStart=/usr/bin/acrnd
|
||||||
ExecStop=/usr/bin/killall -s TERM acrnd
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -4,7 +4,6 @@ Description=ACRN hypervisor log
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/acrnlog
|
ExecStart=/usr/bin/acrnlog
|
||||||
ExecStop=/usr/bin/killall -s TERM acrnlog
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user