From 46b0e659df81a2e83d931c308d288938a2f1d285 Mon Sep 17 00:00:00 2001 From: jbruce Date: Mon, 26 Nov 2018 19:49:25 -0500 Subject: [PATCH] - mv'ed init.d script to kiln-controller --- lib/init/{reflow => kiln-controller} | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) rename lib/init/{reflow => kiln-controller} (51%) diff --git a/lib/init/reflow b/lib/init/kiln-controller similarity index 51% rename from lib/init/reflow rename to lib/init/kiln-controller index 34b24c0..6ab2e16 100644 --- a/lib/init/reflow +++ b/lib/init/kiln-controller @@ -1,31 +1,31 @@ ### BEGIN INIT INFO -# Provides: Start reflow server +# Provides: Start kiln-controller server # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 -# Short-Description: Start Reflow Server +# Short-Description: Start kiln-controller Server # Description: picoFlow On Raspberry Pi ### END INIT INFO #! /bin/sh -# /etc/init.d/reflow +# /etc/init.d/kiln-controller export HOME case "$1" in start) - echo "Starting Reflow Server" + echo "Starting kiln-controller Server" /home/pi/picoReflow/picoreflowd.py 2>&1 & ;; stop) - echo "Stopping Reflow Server" - reflow_PID=`ps auxwww | grep picoreflowd.py | head -1 | awk '{print $2}'` + echo "Stopping kiln-controller Server" + reflow_PID=`ps auxwww | grep kiln-controller.py | head -1 | awk '{print $2}'` kill -9 $reflow_PID ;; *) - echo "Usage: /etc/init.d/reflow {start|stop}" + echo "Usage: /etc/init.d/kiln-controller {start|stop}" exit 1 ;; esac