beterraba

commit dfb68c82f8f560b56d05b70231a03225fb06c0e5

Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>

server: handle other type of notifications

 cmd/beterrabad/socket.ha | 6 ++++++


diff --git a/cmd/beterrabad/socket.ha b/cmd/beterrabad/socket.ha
index 064197719e037cea7922110dbe5c097893e0ede0..901d40db855c783a132ee02b6cbd4e32c93c0160 100644
--- a/cmd/beterrabad/socket.ha
+++ b/cmd/beterrabad/socket.ha
@@ -199,6 +199,12 @@ 		fmt::fprintf(&buf, status)?;
 	case "started" =>
 		let status = notify_service("started", args, server);
 		fmt::fprintf(&buf, status)?;
+	case "crashed" =>
+		let status = notify_service("crashed", args, server);
+		fmt::fprintf(&buf, status)?;
+	case "stopped" =>
+		let status = notify_service("stopped", args, server);
+		fmt::fprintf(&buf, status)?;
 	case "list" =>
 		let status = list_services(args, server);
 		fmt::fprintf(&buf, status)?;