aboutsummaryrefslogtreecommitdiff
path: root/tools/gator/debian/gator-daemon.upstart
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2012-05-04 14:39:28 +0100
committerJon Medhurst <tixy@linaro.org>2012-05-16 17:35:59 +0100
commitb667e7b5ec5f6c772924dfcc0e6d1da8431f7d7d (patch)
tree266a887eb9f022ac2849ee523edc3a92f0479700 /tools/gator/debian/gator-daemon.upstart
parenta8e92ea7aa4978a2be43964ce31432ac5fb43929 (diff)
downloadvexpress-lsk-b667e7b5ec5f6c772924dfcc0e6d1da8431f7d7d.tar.gz
gator: ubuntu: Add packaginggator-5.10.0-0
Files and scripts for creating Debian packages for Gator and ARM DS-5 target. Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'tools/gator/debian/gator-daemon.upstart')
-rw-r--r--tools/gator/debian/gator-daemon.upstart10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/gator/debian/gator-daemon.upstart b/tools/gator/debian/gator-daemon.upstart
new file mode 100644
index 00000000000..1564efc5339
--- /dev/null
+++ b/tools/gator/debian/gator-daemon.upstart
@@ -0,0 +1,10 @@
+description "Load gator driver module and launch gator daemon"
+author "Pawel Moll <pawel.moll@arm.com>"
+
+start on filesystem
+
+exec /usr/sbin/gatord -c /var/lib/gatord/configuration.xml
+
+pre-start script
+ modprobe -q gator || true
+end script