From 29cc7afb77084433124058f5da1f818dcc508a66 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 29 Aug 2022 23:15:53 +0400 Subject: [PATCH] Now it is statically linked. --- Makefile | 2 +- init/systemd/dwelling-radio.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a2c0bb3..358bd39 100755 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ SYSDDIR_=${shell pkg-config systemd --variable=systemdsystemunitdir} SYSDDIR=${SYSDDIR_:/%=%} DESTDIR=/ -LDFLAGS=-ldflags "-s -w -X main.version=22.35.0" +LDFLAGS=-ldflags "-s -w -X main.version=22.35.0" -tags osusergo,netgo all: ${TARGET} diff --git a/init/systemd/dwelling-radio.service b/init/systemd/dwelling-radio.service index a46e7dd..a74023d 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 /opt/opam/4.14.0/bin/liquidsoap +ExecPaths=/usr/bin/dwelling-radio /opt/opam/4.14.0/bin/liquidsoap LogsDirectory=dwelling-radio RuntimeDirectory=dwelling-radio