1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-05 21:15:38 -05:00

fedora: restart on USR1 instead of HUP

This commit is contained in:
bbedward
2025-11-06 20:27:32 -05:00
parent 898e9e67d0
commit f95e4e016b
4 changed files with 4 additions and 4 deletions

View File

@@ -193,7 +193,7 @@ jobs:
# Restart DMS for active users after upgrade
if [ "$1" -ge 2 ]; then
pkill -HUP -x dms >/dev/null 2>&1 || true
pkill -USR1 -x dms >/dev/null 2>&1 || true
fi
%files

View File

@@ -7,7 +7,7 @@ Requisite=graphical-session.target
[Service]
Type=simple
ExecStart=/usr/bin/dms run --session
ExecReload=/usr/bin/pkill -HUP -x dms
ExecReload=/usr/bin/pkill -USR1 -x dms
Restart=always
RestartSec=2
TimeoutStopSec=10

View File

@@ -151,7 +151,7 @@ fi
# Restart DMS for active users after upgrade
if [ "$1" -ge 2 ]; then
pkill -HUP -x dms >/dev/null 2>&1 || true
pkill -USR1 -x dms >/dev/null 2>&1 || true
fi
%files