1#!/bin/sh
2set -e
3
4if ! command -V systemctl >/dev/null 2>&1; then
5 echo "Not running SystemD, ignoring"
6 exit 0
7fi
8
9systemctl daemon-reload
10systemctl reset-failed
11
12echo "WARN: the soft-serve user/group and /var/lib/soft-serve directory were not removed"