blob: 17d939d95d8c62e8e69fa52a726ceebaae97bdac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#! /bin/sh
set -xeuf
PATH="$(dirname $(readlink -f "$0"))${PATH+:$PATH}"
if args="`pgrep-retiolum-tincd-args`"; then
while $args --kill; do
sleep 1
done
$args
else
echo "$0: there is no retiolum tincd process to restart" >&2
exit 23
fi
|