File: ct_killall.sh

package info (click to toggle)
golang-github-google-certificate-transparency 1.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,764 kB
  • sloc: sh: 606; makefile: 103; sql: 16
file content (11 lines) | stat: -rwxr-xr-x 279 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
# Kill all ctfe/trillian related processes.
killall $@ ct_server
killall $@ trillian_log_server
killall $@ trillian_log_signer
if [[ -x "${ETCD_DIR}/etcd" ]]; then
  killall $@ etcd
  if [[ -x "${PROMETHEUS_DIR}/prometheus" ]]; then
    killall $@ prometheus
  fi
fi