From 314138641ab1ae439c09b99d10d76e440ebeba2c Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 29 Aug 2022 19:35:38 +0400 Subject: [PATCH] Set a path to a liquidsoap. --- configs/config.yaml | 2 +- init/systemd/dwelling-radio.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/config.yaml b/configs/config.yaml index 0e68964..6ddb914 100644 --- a/configs/config.yaml +++ b/configs/config.yaml @@ -7,7 +7,7 @@ icecast: url: "http://radio.arav.home.arpa/status-json.xsl" playlist_path: "/var/log/icecast/playlist.log" liquidsoap: - executable_path: "/usr/bin/liquidsoap" + executable_path: "/opt/opam/4.14.0/bin/liquidsoap" script_path: "/etc/dwelling/radio.liq" # How much songs to list on a page list_last_n_songs: 10 diff --git a/init/systemd/dwelling-radio.service b/init/systemd/dwelling-radio.service index 104715b..a46e7dd 100755 --- a/init/systemd/dwelling-radio.service +++ b/init/systemd/dwelling-radio.service @@ -11,7 +11,7 @@ ExecStart=/usr/bin/dwelling-radio -conf /etc/dwelling/radio.yaml ReadOnlyPaths=/ NoExecPaths=/ -ExecPaths=/usr/bin/dwelling-radio /usr/lib64 +ExecPaths=/usr/bin/dwelling-radio /usr/lib64 /opt/opam/4.14.0/bin/liquidsoap LogsDirectory=dwelling-radio RuntimeDirectory=dwelling-radio