Hi ChenQi,
Thanks for the help, I tried following service, it did not work, the
systemd complains bad unit
[Unit]
Description=Application Shutdown Service
Before=multi-user.target
[Service]
Type=oneshot
ExecStart=
ExecStop=/usr/sbin/app_cleanup.sh
[Install]
WantedBy=multi-user.target
>> Most o
On 08/07/2019 04:11 PM, JH wrote:
Hi,
Most of the services are started in boot, how can I have create a
service only to be active in shutdown (not in boot) to clean up?
Thank you.
Kind regards,
- jh
Make use of ExecStop, leave ExecStart to be empty.
--
_
Hi,
Most of the services are started in boot, how can I have create a
service only to be active in shutdown (not in boot) to clean up?
Thank you.
Kind regards,
- jh
--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listi