From 58f1fd3872a450e67fb73df09c4b45b6fd04536f Mon Sep 17 00:00:00 2001 From: dvs1 Date: Tue, 22 Oct 2024 14:03:47 +1000 Subject: Make the user command STOP, so stop is for SysV. --- aataaj.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/aataaj.lua b/aataaj.lua index 26db4d2..83dd827 100755 --- a/aataaj.lua +++ b/aataaj.lua @@ -100,6 +100,7 @@ if 0 ~= #args then if 'start' == args[1] then elseif 'stop' == args[1] then + elseif 'STOP' == args[1] then _.killEmAll{'qsynth'} __[[ a2j_control --stop @@ -134,11 +135,11 @@ if 0 ~= #args then print(Help) return(0) else - print("Usage: /etc/init.d/aataaj.lua {start|stop|restart|force-reload|status}") + print("Usage: aataaj.lua {start|stop|restart|force-reload|status|JACK|STOP}") return(1) end else - print("Usage: /etc/init.d/aataaj.lua {help|start|stop|restart|force-reload|status|JACK}") + print("Usage: aataaj.lua {help|start|stop|restart|force-reload|status|JACK|STOP}") return(1) end -- cgit v1.1