23 lines
521 B
Diff
23 lines
521 B
Diff
diff --git configure configure
|
|
index a32cc1c..fefad31 100755
|
|
--- configure
|
|
+++ configure
|
|
@@ -194,6 +194,18 @@ if [ -z "$RESTARTCMD" ]; then
|
|
fi
|
|
done
|
|
fi
|
|
+if [ -z "$RESTARTCMD" ]; then
|
|
+ printf "Checking for runit... "
|
|
+ if [ -x /bin/sv ]; then
|
|
+ RESTARTCMD="/bin/sv restart \1"
|
|
+ echo "yes"
|
|
+ elif [ -x /usr/bin/sv ]; then
|
|
+ RESTARTCMD="/usr/bin/sv restart \1"
|
|
+ echo "yes"
|
|
+ else
|
|
+ echo "no"
|
|
+ fi
|
|
+fi
|
|
|
|
if [ -z "$RESTARTCMD" ]; then
|
|
echo "$0: WARNING: No means of interacting with system services detected!"
|