aboutsummaryrefslogtreecommitdiffstats
path: root/user/jack@.service
diff options
context:
space:
mode:
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