sonic-buildimage/files/image_config/warmboot-finalizer/warmboot-finalizer.service
Ying Xie 681e34a2b1
[service] add warmboot finializer service (#2725)
After warm reboot is done, we need to disable warm reboot flag and
tear down anything setup for warm reboot and persisted across.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-04-01 14:16:31 -07:00

12 lines
229 B
Desktop File

[Unit]
Description=Monitor warm recovery and disable warmboot when done
Requires=database.service
After=database.service
[Service]
Type=oneshot
ExecStart=/usr/local/bin/finalize-warmboot.sh
[Install]
WantedBy=multi-user.target