On Monday, July 15, 2013 09:19:14 AM Shawn Wells wrote:
On 7/14/13 5:41 PM, Jeffrey Blank wrote:
> Typo here:
> +# Stop SERVICENAME if currently running
>
> Otherwise seems harmless enough.
Updated:
+++ b/RHEL6/input/fixes/bash/templates/template_service_enabled
@@ -0,0 +1,9 @@
+#
+# Enable SERVICENAME for all run levels
+#
+chkconfig --level 0123456 SERVICENAME on
Normally when you enable on all levels, that only means 2-5 inclusive. You
don't turn things on for halt, reboot, or single user modes.
-Steve
+#
+# Start SERVICENAME if not currently running
+#
+service SERVICENAME start