remove systemd user daemon-reload from postinst.sh
This commit is contained in:
parent
0581a9e680
commit
45e1707d3b
|
|
@ -24,7 +24,6 @@ if [ "$1" = "configure" ] || [ "$1" -ge 1 ]; then
|
||||||
|
|
||||||
# Restart services
|
# Restart services
|
||||||
systemctl --system daemon-reload >/dev/null || true
|
systemctl --system daemon-reload >/dev/null || true
|
||||||
systemctl --user daemon-reload >/dev/null || true
|
|
||||||
if systemctl is-active -q ntfy.service; then
|
if systemctl is-active -q ntfy.service; then
|
||||||
echo "Restarting ntfy.service ..."
|
echo "Restarting ntfy.service ..."
|
||||||
if [ -x /usr/bin/deb-systemd-invoke ]; then
|
if [ -x /usr/bin/deb-systemd-invoke ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue