libkysdk-system/debian/libkysdk-realtime.postinst

6 lines
203 B
Plaintext
Raw Permalink Normal View History

2024-04-02 09:21:00 +08:00
if systemctl is-active --quiet kysdk-dbus.service; then
echo "kysdk-dbus.service is active, restarting..."
systemctl restart kysdk-dbus.service
else
echo "kysdk-dbus.service is not active"
fi