1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-09-07 12:27:56 +02:00

remove systemd user daemon-reload from postinst.sh

This commit is contained in:
dandersch 2025-05-23 23:00:45 +02:00 committed by GitHub
parent 0581a9e680
commit 45e1707d3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,7 +24,6 @@ if [ "$1" = "configure" ] || [ "$1" -ge 1 ]; then
# Restart services
systemctl --system daemon-reload >/dev/null || true
systemctl --user daemon-reload >/dev/null || true
if systemctl is-active -q ntfy.service; then
echo "Restarting ntfy.service ..."
if [ -x /usr/bin/deb-systemd-invoke ]; then