class

Wgctl::WireGuard::ServiceManager

Inherits Reference < Object

Class methods

active?(interface_name : String) : Bool

Checks if the service is currently running

Source
enable_and_start(interface_name : String) : Tuple(Bool, String)

Enables and starts the wireguard systemd service for an interface

Source