Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ynsta/steamcontroller.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStany MARCEL <stanypub@gmail.com>2016-12-02 02:28:46 +0300
committerStany MARCEL <stanypub@gmail.com>2016-12-02 02:28:46 +0300
commit82e84c5cd1773f3236f09cd1a22c7ab363b72008 (patch)
treef3f0030c3b2711328e632d577f76d8c7ebe85e16
parent723cdafda65e23db7760378feeea62f3ef8e34b3 (diff)
Add systemd services examples for 2 controllers
Signed-off-by: Stany MARCEL <stanypub@gmail.com>
-rw-r--r--res/sc-mixed0.service12
-rw-r--r--res/sc-mixed1.service12
2 files changed, 24 insertions, 0 deletions
diff --git a/res/sc-mixed0.service b/res/sc-mixed0.service
new file mode 100644
index 0000000..17eaaf3
--- /dev/null
+++ b/res/sc-mixed0.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=SteamController Userland driver
+
+[Service]
+Type=forking
+PIDFile=/tmp/steamcontroller0.pid
+ExecStart=/usr/bin/sc-mixed.py -i0 start
+ExecReload=/usr/bin/sc-mixed.py -i0 restart
+ExecStop=/usr/bin/sc-mixed.py -i0 stop
+
+[Install]
+WantedBy=multi-user.target
diff --git a/res/sc-mixed1.service b/res/sc-mixed1.service
new file mode 100644
index 0000000..57381e8
--- /dev/null
+++ b/res/sc-mixed1.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=SteamController Userland driver
+
+[Service]
+Type=forking
+PIDFile=/tmp/steamcontroller1.pid
+ExecStart=/usr/bin/sc-mixed.py -i1 start
+ExecReload=/usr/bin/sc-mixed.py -i1 restart
+ExecStop=/usr/bin/sc-mixed.py -i1 stop
+
+[Install]
+WantedBy=multi-user.target