From 967051443410c10e1d18abace04defb2e47d1ad2 Mon Sep 17 00:00:00 2001 From: Roman Bazalevskiy Date: Sat, 30 Nov 2013 17:36:09 +0400 Subject: [PATCH 1/1] =?utf8?q?=D0=9A=D0=BE=D0=BD=D1=84=D0=B8=D0=B3=D1=83?= =?utf8?q?=D1=80=D0=B0=D1=86=D0=B8=D0=BE=D0=BD=D0=BD=D1=8B=D0=B9=20=D1=84?= =?utf8?q?=D0=B0=D0=B9=D0=BB=20=D0=B4=D0=BB=D1=8F=20upstart=20=D0=B4=D0=BE?= =?utf8?q?=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- als.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 als.conf diff --git a/als.conf b/als.conf new file mode 100644 index 0000000..9781928 --- /dev/null +++ b/als.conf @@ -0,0 +1,13 @@ +description "Ambient light sensor" + +start on runlevel [2345] + +stop on runlevel [016] + +post-start script + /usr/local/bin/als-controller & +end script + +post-stop script + pkill als-controller +end script -- 2.34.1