server-restart 137 B

123456789
  1. #! /bin/bash
  2. mkdir log -p
  3. echo 'Killing ...'
  4. killall hpaste
  5. sleep 0.2
  6. echo 'Starting ...'
  7. dist/build/hpaste/hpaste hpaste.conf & disown