From 059e5fc9312a18f347ffcb40511e660125c030d8 Mon Sep 17 00:00:00 2001 From: Shamus Hammons Date: Wed, 31 Dec 2014 09:05:09 -0600 Subject: [PATCH] Added start of start-stop-daemon (OpenRC) communication handling. --- .gitignore | 1 + init | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index e69de29..1d45c0a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +*.patch diff --git a/init b/init index 11b05ca..4e93821 100755 --- a/init +++ b/init @@ -161,6 +161,10 @@ loop do # you get nothing if you're ssh'ed in... $daemons.each { |key, value| puts(key + ': ' + (value ? '[OK]' : '[!!]') + ' (' + value.to_s + ')') } ctl.puts + when :start + puts('Received start msg from s-s-d: ' + args.to_s) + when :stop + puts('Received stop msg from s-s-d: ' + args.to_s) end end -- 2.37.2