summaryrefslogtreecommitdiff
path: root/doc/examples/upstart-rclocal.txt
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2010-01-26 22:53:00 -0500
committerScott Moser <smoser@ubuntu.com>2010-01-26 22:53:00 -0500
commiteb74cd6f36a2f4d2ebdee04d6b388834b1bc72d4 (patch)
tree89d6cdf38758b68639bf5f8d8fbcb220f2ce1f71 /doc/examples/upstart-rclocal.txt
parent4f389802609dd1a764bd93f2babda7e9eef7f1ba (diff)
downloadvyos-cloud-init-eb74cd6f36a2f4d2ebdee04d6b388834b1bc72d4.tar.gz
vyos-cloud-init-eb74cd6f36a2f4d2ebdee04d6b388834b1bc72d4.zip
add doc/userdata.txt, move examples to doc/.
Diffstat (limited to 'doc/examples/upstart-rclocal.txt')
-rw-r--r--doc/examples/upstart-rclocal.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/examples/upstart-rclocal.txt b/doc/examples/upstart-rclocal.txt
new file mode 100644
index 00000000..5cd049a9
--- /dev/null
+++ b/doc/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