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