aboutsummaryrefslogtreecommitdiffstats
path: root/qtsixa
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-09-27 15:31:08 +0200
committerMattias Andrée <maandree@operamail.com>2013-09-27 15:31:08 +0200
commitaedaf8fcbcba8f3fd8b9f7e3189bad02c045d5e6 (patch)
tree2d8e3d64f0716cb37f3b5995e75bd2df7adca83f /qtsixa
parentupdate qtsixa (diff)
downloadaur-packages-aedaf8fcbcba8f3fd8b9f7e3189bad02c045d5e6.tar.gz
aur-packages-aedaf8fcbcba8f3fd8b9f7e3189bad02c045d5e6.tar.bz2
aur-packages-aedaf8fcbcba8f3fd8b9f7e3189bad02c045d5e6.tar.xz
new systemd service for qtsixa
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'qtsixa')
-rwxr-xr-xqtsixa/PKGBUILD2
-rw-r--r--qtsixa/sixad.service10
2 files changed, 8 insertions, 4 deletions
diff --git a/qtsixa/PKGBUILD b/qtsixa/PKGBUILD
index 6514678..69958df 100755
--- a/qtsixa/PKGBUILD
+++ b/qtsixa/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=qtsixa
pkgver=1.5.1
-pkgrel=19
+pkgrel=20
pkgdesc="An utility to configure and use sixaxis controller via bluetooth."
url="http://sourceforge.net/projects/qtsixa/"
arch=('i686' 'x86_64' 'ppc')
diff --git a/qtsixa/sixad.service b/qtsixa/sixad.service
index 2dc59c0..300720d 100644
--- a/qtsixa/sixad.service
+++ b/qtsixa/sixad.service
@@ -1,11 +1,15 @@
[Unit]
Description=SixAxis daemon
+# It does not conflict, if the input plugin is disabled.
+#Conflicts=bluetooth.service
After=bluetooth.target
+Requires=bluetooth.service
[Service]
Type=simple
-ExecStart=/usr/bin/sixad --start
-ExecStop=/usr/bin/sixad --stop
+ExecStart=/usr/bin/sixad-bin 0 0 0
+Restart=on-failure
[Install]
-WantedBy=multi-user.target
+WantedBy=bluetooth.target
+#WantedBy=multi-user.target