#!/bin/sh set -e if systemctl >/dev/null 2>/dev/null; then if [ -z "$D" ]; then systemctl stop lttng-sessiond.service systemctl disable lttng-sessiond.service fi fi