cdist/cdist/conf/type/__service/explorer/service-manager

9 lines
136 B
Bash
Executable File

#!/bin/sh
# Assume systemd if systemctl is in PATH.
if [ "$(command -v systemctl)" ]; then
printf "systemd"
else
printf "unknown"
fi