Function qsu::default_service_name

source ·
pub fn default_service_name() -> Option<String>
Expand description

Attempt to derive a default service name based on the executable’s name.

The idea is to get the current executable’s file name and strip it’s extension (if there is one). The file stem name is the default service name. On macos the name will be prefixed by local..