Blame SOURCES/0006-kiosk-script-Send-SIGHUP-to-script-at-shutdown-time.patch

f5e75e
From 3e9a6ea82edc0bbd57c0d3088186c30823b956ec Mon Sep 17 00:00:00 2001
f5e75e
From: Ray Strode <rstrode@redhat.com>
f5e75e
Date: Wed, 11 Aug 2021 15:06:42 -0400
f5e75e
Subject: [PATCH 6/6] kiosk-script: Send SIGHUP to script at shutdown time
f5e75e
f5e75e
Since the kiosk script is a shell script, it ignores SIGTERM.
f5e75e
We should send it a hang up signal first to make it comply.
f5e75e
---
f5e75e
 kiosk-script/systemd/org.gnome.Kiosk.Script.service.in | 1 +
f5e75e
 1 file changed, 1 insertion(+)
f5e75e
f5e75e
diff --git a/kiosk-script/systemd/org.gnome.Kiosk.Script.service.in b/kiosk-script/systemd/org.gnome.Kiosk.Script.service.in
f5e75e
index 8194f1c..e4da546 100644
f5e75e
--- a/kiosk-script/systemd/org.gnome.Kiosk.Script.service.in
f5e75e
+++ b/kiosk-script/systemd/org.gnome.Kiosk.Script.service.in
f5e75e
@@ -1,8 +1,9 @@
f5e75e
 [Unit]
f5e75e
 Description=Kiosk script
f5e75e
 BindsTo=gnome-session.target
f5e75e
 After=gnome-session.target
f5e75e
 
f5e75e
 [Service]
f5e75e
 ExecStart=@bindir@/gnome-kiosk-script
f5e75e
 Restart=always
f5e75e
+SendSIGHUP=true
f5e75e
-- 
f5e75e
2.31.1
f5e75e