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

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