What type of hardware are you using: Raspberry Pi 3, 4+ What YunoHost version are you running: YunoHost 12.0.17 (stable) What app is this about: Watchdog
Thank you. It seems it was installed although when I first tried it said the installaion was not successful.
When I tried your command I had:
sudo apt install watchdog
[sudo] password for arnauld:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
watchdog is already the newest version (5.16-2~rpt2).
watchdog set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
and
sudo ls -ld /dev/watchdog
crw------- 1 root root 10, 130 Jun 29 12:02 /dev/watchdog
Does it mean it is installed and running? How can I check it is working as the docs say:
It better (only?) works if your server has a hardware watchdog device.
That’s weird… can you try this in a terminal ?
bash
YNH_HELPERS_VERSION=2.1 source /usr/share/yunohost/helpers
if ! ynh_in_ci_tests; then echo "fail1"; fi
if [ ! -f /dev/watchdog ]; then echo "fail2"; fi
if ! ynh_in_ci_tests && [ ! -f /dev/watchdog ]; then echo "fail3"; fi
arnauld@arnauld:~ $ YNH_HELPERS_VERSION=2.1 source /usr/share/yunohost/helpers
if ! ynh_in_ci_tests; then echo "fail1"; fi
if [ ! -f /dev/watchdog ]; then echo "fail2"; fi
if ! ynh_in_ci_tests && [ ! -f /dev/watchdog ]; then echo "fail3"; fi
fail1
fail2
fail3