Skip to content

systemd hard dependency #23

@duarm

Description

@duarm

Thanks for making zerotier-gui!
This hard depends on systemd because it uses systemctl to check if zerotier is running.
what about running zerotier-cli instead?

Not running

$ zerotier-cli listnetworks
Error connecting to the ZeroTier service: connection failed

Please check that the service is running and that TCP port 9993 can be contacted via 127.0.0.1.

Running

$ zerotier-cli listnetworks
200 listnetworks <nwid> <name> <mac> <status> <type> <dev> <ZT assigned ips>
200 listnetworks xxxxxxxxxxxxx xxxxxx xx:xx:xx:xx:xx:xx OK PRIVATE xxxxxxxxxx xxxx:xxxx:xx:xxxx:xxxx::x/xx,xxx.xxx.xxx.xxx/xx

Maybe checking listened ports with netstat? detecting interface with ip addr? Abstract the check for multiple init systems?

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