Created
October 24, 2014 01:54
-
-
Save akatch/cdb707856d467bd7cacd to your computer and use it in GitHub Desktop.
systemd script for xboxdrv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Systemd unit to enable xboxdrv driver for Xbox 360 controller | |
# Usage: | |
# save to /lib/systemd/system/xboxdrv.service | |
# to start: sudo service xboxdrv start | |
# to enable on boot: sudo systemctl enable xboxdrv | |
[Unit] | |
Description=Xbox controller driver daemon | |
[Service] | |
Type=forking | |
User=root | |
PIDFile=/var/run/xboxdrv.pid | |
ExecStart=/usr/bin/xboxdrv --daemon --detach --pid-file /var/run/xboxdrv.pid --dbus disabled --silent --mimic-xpad | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment