Need systemd

SolidGroundUX DocumentationSolidGroundUX
NL

fn: sgnd_need_systemd

Purpose

Require the systemctl command to be available.

Side effects

Exits the process if systemctl is unavailable.

Returns

  • 0 when systemctl is available; exits with status 1 otherwise.

Usage

  sgnd_need_systemd