better restart script
Anirudh Oppiliappan x@icyphox.sh
Sun, 27 Nov 2022 10:06:26 +0530
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
restart.sh
→
restart.sh
@@ -1,2 +1,6 @@
+#!/bin/sh + pkill honk nohup ./honk & +pid="$(pgrep honk)" +printf 'honk pid: %s' "$pid"