1 |
pacho 14/03/30 09:53:03 |
2 |
|
3 |
Added: 99-space-navigator.rules-r1 spacenavd.service |
4 |
Log: |
5 |
Add systemd support (#506008 by Anthoine Bourgeois) |
6 |
|
7 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 app-misc/spacenavd/files/99-space-navigator.rules-r1 |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/spacenavd/files/99-space-navigator.rules-r1?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/spacenavd/files/99-space-navigator.rules-r1?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: 99-space-navigator.rules-r1 |
16 |
=================================================================== |
17 |
# Copyright 1999-2014 Gentoo Foundation |
18 |
# Distributed under the terms of the GNU General Public License v2 or later |
19 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/spacenavd/files/99-space-navigator.rules-r1,v 1.1 2014/03/30 09:53:03 pacho Exp $ |
20 |
|
21 |
# Start daemon on insertion of a SpaceNavigator device |
22 |
SUBSYSTEM=="usb", ACTION=="add", ATTRS{manufacturer}=="3Dconnexion", ATTRS{product}=="Space Navigator", RUN+="/etc/init.d/spacenavd --quiet start" |
23 |
SUBSYSTEM=="usb", ACTION=="add", ATTRS{manufacturer}=="3Dconnexion", ATTRS{product}=="SpaceNavigator", TAG+="systemd", ENV{SYSTEMD_WANTS}+="spacenavd.service" |
24 |
|
25 |
|
26 |
|
27 |
1.1 app-misc/spacenavd/files/spacenavd.service |
28 |
|
29 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/spacenavd/files/spacenavd.service?rev=1.1&view=markup |
30 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/spacenavd/files/spacenavd.service?rev=1.1&content-type=text/plain |
31 |
|
32 |
Index: spacenavd.service |
33 |
=================================================================== |
34 |
[Unit] |
35 |
Description=3Dconnexion Input Devices Userspace Driver |
36 |
|
37 |
[Service] |
38 |
ExecStart=/usr/bin/spacenavd -d |
39 |
|
40 |
[Install] |
41 |
WantedBy=multi-user.target |