add example .service file for dbus activation
authorHelmut Grohne <helmut@subdivi.de>
Sun, 28 Jul 2013 11:45:24 +0000 (13:45 +0200)
committerHelmut Grohne <helmut@subdivi.de>
Sun, 28 Jul 2013 11:45:24 +0000 (13:45 +0200)
MANIFEST.in
de.subdivi.onoff0.service [new file with mode: 0644]

index 2301d36..f5cc1ea 100644 (file)
@@ -1,2 +1,4 @@
 include COPYING
 include README.md
+include dbus_policy.conf
+include de.subdivi.onoff0.service
diff --git a/de.subdivi.onoff0.service b/de.subdivi.onoff0.service
new file mode 100644 (file)
index 0000000..ac3bc15
--- /dev/null
@@ -0,0 +1,6 @@
+[D-BUS Service]
+Name=de.subdivi.onoff0
+# path to your onoff service main
+Exec=/path/to/service.py
+# lower privs, if possible
+User=root