aboutsummaryrefslogtreecommitdiffstats
path: root/user/jack@.service
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-03-20 03:13:57 +0100
committerDavid Runge <dave@sleepmap.de>2015-03-20 03:13:57 +0100
commitb9107a261fc230da7d864bbbade848fbd90621ef (patch)
tree6844998314d42c14928ee552d8737b9d94f6b077 /user/jack@.service
parentcb8bbe5c9fc28ae7b5cfc9f302de23e6e6f6f4f4 (diff)
downloaduenv-b9107a261fc230da7d864bbbade848fbd90621ef.tar.gz
uenv-b9107a261fc230da7d864bbbade848fbd90621ef.tar.bz2
uenv-b9107a261fc230da7d864bbbade848fbd90621ef.tar.xz
uenv-b9107a261fc230da7d864bbbade848fbd90621ef.zip
jack: Adding a sample configuration file for a firewire device and a JACK systemd --user service file.
Diffstat (limited to 'user/jack@.service')
-rw-r--r--user/jack@.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/user/jack@.service b/user/jack@.service
new file mode 100644
index 0000000..9d4477a
--- /dev/null
+++ b/user/jack@.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=JACK Audio
+After=sound.target local-fs.target
+
+[Service]
+EnvironmentFile=-/etc/conf.d/%i
+EnvironmentFile=-%h/.config/jack/%i
+ExecStart=/usr/bin/jackd -n $NAME $REALTIME -p $PORTMAX -d $DRIVER -d $DEVICE $DRIVER_SETTINGS
+CPUSchedulingPolicy=rr
+CPUSchedulingPriority=70
+LimitRTPRIO=71
+LimitRTTIME=-1
+
+[Install]
+WantedBy=default.target