7edc25c
From 07d7077af1992d52733b0dcf18538690a87b877f Mon Sep 17 00:00:00 2001
7edc25c
From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
7edc25c
Date: Fri, 30 Jun 2017 10:42:17 -0700
7edc25c
Subject: [PATCH] Update README to start service
7edc25c
7edc25c
Added comment for starting service when using upstart and systemd.
7edc25c
---
7edc25c
 README.txt | 13 +++++++++++--
7edc25c
 1 file changed, 11 insertions(+), 2 deletions(-)
7edc25c
7edc25c
diff --git a/README.txt b/README.txt
7edc25c
index 26ba507..f67bf7f 100644
7edc25c
--- a/README.txt
7edc25c
+++ b/README.txt
7edc25c
@@ -66,8 +66,17 @@ Build
7edc25c
 (It will give error for systemd configuration, but ignore)
7edc25c
 cp data/thermald.conf /etc/init/
7edc25c
 3.
7edc25c
-Use "sudo start thermald" to start
7edc25c
-Use "sudo stop thermald" to stop
7edc25c
+If using upstart
7edc25c
+	Use "sudo start thermald" to start
7edc25c
+	Use "sudo stop thermald" to stop
7edc25c
+
7edc25c
+If using systemd, use
7edc25c
+- start service
7edc25c
+	sudo systemctl start thermald.service
7edc25c
+- Get status
7edc25c
+	sudo systemctl status thermald.service
7edc25c
+- Stop service
7edc25c
+	sudo systemctl stop thermald.service
7edc25c
 
7edc25c
 -------------------------------------------
7edc25c