diff --git a/jack.service b/jack.service deleted file mode 120000 index ddc774f..0000000 --- a/jack.service +++ /dev/null @@ -1 +0,0 @@ -/etc/systemd/system/jack.service \ No newline at end of file diff --git a/jack.service b/jack.service new file mode 100644 index 0000000..ffc2fe5 --- /dev/null +++ b/jack.service @@ -0,0 +1,14 @@ +[Unit] +Description=JACK +After=sound.target + +[Service] +Type=simple +LimitRTPRIO=infinity +LimitMEMLOCK=infinity +User=xpub +Environment="JACK_NO_AUDIO_RESERVATION=1" +ExecStart=/usr/bin/jackd -R -dalsa -dhw:1 + +[Install] +WantedBy=multi-user.target diff --git a/oscserver.service b/oscserver.service deleted file mode 120000 index 26f2fcf..0000000 --- a/oscserver.service +++ /dev/null @@ -1 +0,0 @@ -/etc/systemd/system/oscserver.service \ No newline at end of file diff --git a/oscserver.service b/oscserver.service new file mode 100644 index 0000000..8028be0 --- /dev/null +++ b/oscserver.service @@ -0,0 +1,16 @@ +[Unit] +Description=Start the Python OSC application +After=syslog.target network.target + +[Service] +Type=simple +User=xpub +Group=xpub +WorkingDirectory=/home/xpub +ExecStart=/home/xpub/server.sh +Restart=always + +[Install] +WantedBy=multi-user.target + + diff --git a/scmixer.service b/scmixer.service deleted file mode 120000 index bbc9098..0000000 --- a/scmixer.service +++ /dev/null @@ -1 +0,0 @@ -/etc/systemd/system/scmixer.service \ No newline at end of file diff --git a/scmixer.service b/scmixer.service new file mode 100644 index 0000000..be19137 --- /dev/null +++ b/scmixer.service @@ -0,0 +1,17 @@ +[Unit] +Description=Start the Supercollider Application +After=syslog.target network.target +Requires=oscserver.service jack.service + +[Service] +Type=simple +User=xpub +Group=xpub +WrokingDirectory=/home/xpub +ExecStart=/home/xpub/scmixer.sh +Restart=always + +[Install] +WantedBy=multi-user.target + +