diff options
author | Stany MARCEL <stanypub@gmail.com> | 2016-12-02 02:28:46 +0300 |
---|---|---|
committer | Stany MARCEL <stanypub@gmail.com> | 2016-12-02 02:28:46 +0300 |
commit | 82e84c5cd1773f3236f09cd1a22c7ab363b72008 (patch) | |
tree | f3f0030c3b2711328e632d577f76d8c7ebe85e16 | |
parent | 723cdafda65e23db7760378feeea62f3ef8e34b3 (diff) |
Add systemd services examples for 2 controllers
Signed-off-by: Stany MARCEL <stanypub@gmail.com>
-rw-r--r-- | res/sc-mixed0.service | 12 | ||||
-rw-r--r-- | res/sc-mixed1.service | 12 |
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 |