Closed mxschmitt closed 6 years ago
Use always systemd if available. Check for it via:
if [[ $(which systemctl) != "" ]]; then # use systemd fi
store this in a global variable which will checked always when we need to decide for systemd or init.d.
Use always systemd if available. Check for it via:
store this in a global variable which will checked always when we need to decide for systemd or init.d.