mirror of
https://github.com/LX3JL/xlxd.git
synced 2025-12-06 07:42:01 +01:00
6 lines
171 B
Bash
6 lines
171 B
Bash
#!/bin/sh
|
|
if journalctl -u ambed.service --since "5min ago" --grep 'Device .* is unresponsive'; then
|
|
systemctl restart ambed.service
|
|
systemctl restart xlxd.service
|
|
fi
|