From e35954d1238013f4443e8a349c7db3530541d100 Mon Sep 17 00:00:00 2001 From: brian crabtree Date: Wed, 12 Jan 2022 12:59:27 -0500 Subject: [PATCH] scripts use systemctl now (#1501) --- crone.sh | 12 ------------ matron.sh | 3 --- start.sh | 4 +--- stop.sh | 5 +---- 4 files changed, 2 insertions(+), 22 deletions(-) delete mode 100755 crone.sh delete mode 100755 matron.sh diff --git a/crone.sh b/crone.sh deleted file mode 100755 index 4f8d79f1f..000000000 --- a/crone.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -# do not try reserving device (disable dbus) -export JACK_NO_AUDIO_RESERVATION=1 - -# start jack clients -# scsynth -u 57122 -i 2 -o 2 & -./build/crone/crone & - -# start sclang (starts local scsynth, performs connections) -SCLANG=$(which sclang) -./build/ws-wrapper/ws-wrapper ws://*:5556 $SCLANG & diff --git a/matron.sh b/matron.sh deleted file mode 100755 index ba344ad43..000000000 --- a/matron.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -./build/ws-wrapper/ws-wrapper ws://*:5555 ./build/matron/matron diff --git a/start.sh b/start.sh index 0d2427995..963c850ee 100755 --- a/start.sh +++ b/start.sh @@ -1,3 +1 @@ -cd "$(dirname "$0")" -./crone.sh > /dev/null & -./matron.sh > /dev/null & +systemctl start norns.target diff --git a/stop.sh b/stop.sh index c375516be..18fd1c569 100755 --- a/stop.sh +++ b/stop.sh @@ -1,4 +1 @@ -killall matron -killall sclang -killall scsynth -killall crone +systemctl stop norns-*