diff options
author | makefu <github@syntax-fehler.de> | 2013-12-29 19:51:38 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2013-12-29 19:51:38 +0100 |
commit | 1cbd74d5ff6f298af6543839f1f2429d2cc8a868 (patch) | |
tree | 2847823a103865a536e6a52200318b3e14fdb537 /retiolum/bin/restart-tincd | |
parent | 299afb456b31f5d326153723f43a092d7a4a95d9 (diff) | |
parent | 75f19c77fb0e59e8298b784cdeaceb8cc3bd4931 (diff) |
Merge branch 'master' of ssh://github.com/krebscode/painload
Diffstat (limited to 'retiolum/bin/restart-tincd')
-rwxr-xr-x | retiolum/bin/restart-tincd | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/retiolum/bin/restart-tincd b/retiolum/bin/restart-tincd deleted file mode 100755 index 17d939d9..00000000 --- a/retiolum/bin/restart-tincd +++ /dev/null @@ -1,14 +0,0 @@ -#! /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 |