aboutsummaryrefslogtreecommitdiffstats
path: root/.config/systemd/user
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user')
-rw-r--r--.config/systemd/user/jack@.service13
-rw-r--r--.config/systemd/user/mpd@.service12
2 files changed, 25 insertions, 0 deletions
diff --git a/.config/systemd/user/jack@.service b/.config/systemd/user/jack@.service
new file mode 100644
index 0000000..1a77e5a
--- /dev/null
+++ b/.config/systemd/user/jack@.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=JACK server using %i configuration
+After=sound.target local-fs.target
+
+[Service]
+EnvironmentFile=-/etc/jack/%i
+EnvironmentFile=-%h/.config/jack/%i
+ExecStart=/usr/bin/jackd $JACK_OPTIONS -d $DRIVER -d $DEVICE $DRIVER_SETTINGS
+LimitRTPRIO=95
+LimitRTTIME=infinity
+
+[Install]
+WantedBy=default.target
diff --git a/.config/systemd/user/mpd@.service b/.config/systemd/user/mpd@.service
new file mode 100644
index 0000000..6bde606
--- /dev/null
+++ b/.config/systemd/user/mpd@.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Music Player Daemon
+After=network.target sound.target
+Conflicts=mpd.service
+
+[Service]
+ExecStart=/usr/bin/mpd --no-daemon %h/.config/mpd/mpd-%i.conf
+LimitRTPRIO=75
+LimitRTTIME=infinity
+
+[Install]
+WantedBy=default.target