Skip to content

Expected behaviour of ./wsprdaemon.sh -z and -Z (and a typo) #39

@waterwin

Description

@waterwin

Why is -z restarting services, that is contrary to the expectation of stopping all tasks, processes and services

wsprdaemon@fobos-wd:~$ cd wsprdaemon
wsprdaemon@fobos-wd:~/wsprdaemon$ ./wsprdaemon.sh -z
[sudo] password for wsprdaemon: 
Thu 27 Feb 2025 11:31:15 UTC: build_ka9q_radio() KA9Q-radio software is installed and configured, but can't find a RX888 MkII attached to a USB port
Thu 27 Feb 2025 11:31:15 UTC: build_ka9q_radio() The installiation and configuration checks found no changes were needed but radiod is not running, so we need to start it
Thu 27 Feb 2025 11:31:16 UTC: ka9q-ft-setup() ft8-decoded.service is not running, so it needs to be started
Thu 27 Feb 2025 11:31:16 UTC: ka9q-ft-setup() Restarted service  ft8-decoded.service
Thu 27 Feb 2025 11:31:16 UTC: ka9q-ft-setup() ft4-decoded.service is not running, so it needs to be started
Thu 27 Feb 2025 11:31:16 UTC: ka9q-ft-setup() Restarted service  ft4-decoded.service
Thu 27 Feb 2025 11:31:17 UTC: stop_systemctl_daemon() stop wsprdaemon.service => 5
wsprdaemon@fobos-wd:~/wsprdaemon$ ./wsprdaemon.sh -Z
Thu 27 Feb 2025 11:32:37 UTC: build_ka9q_radio() KA9Q-radio software is installed and configured, but can't find a RX888 MkII attached to a USB port
wsprdaemon@fobos-wd:~/wsprdaemon$ ./wsprdaemon.sh -z
Thu 27 Feb 2025 11:32:47 UTC: build_ka9q_radio() KA9Q-radio software is installed and configured, but can't find a RX888 MkII attached to a USB port
Thu 27 Feb 2025 11:32:48 UTC: stop_systemctl_daemon() stop wsprdaemon.service => 5
wsprdaemon@fobos-wd:~/wsprdaemon$ 

Typo : build_ka9q_radio() The installiation and

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions