summaryrefslogtreecommitdiff
path: root/examples/upstart-rclocal.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/upstart-rclocal.txt')
-rw-r--r--examples/upstart-rclocal.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/upstart-rclocal.txt b/examples/upstart-rclocal.txt
new file mode 100644
index 00000000..5cd049a9
--- /dev/null
+++ b/examples/upstart-rclocal.txt
@@ -0,0 +1,12 @@
+#upstart-job
+description "a test upstart job"
+
+start on stopped rc RUNLEVEL=[2345]
+console output
+task
+
+script
+echo "====BEGIN======="
+echo "HELLO RC.LOCAL LIKE WORLD: $UPSTART_JOB"
+echo "=====END========"
+end script