diff --git a/Makefile b/Makefile index 7ed0c96..586aa8c 100755 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ SYSDDIR_=${shell pkg-config systemd --variable=systemdsystemunitdir} SYSDDIR=${SYSDDIR_:/%=%} DESTDIR=/ -LDFLAGS=-ldflags "-s -w" -tags osusergo,netgo +LDFLAGS=-ldflags "-s -w" all: ${TARGET} diff --git a/init/systemd/dwelling-radio.service b/init/systemd/dwelling-radio.service index 23d9d2a..857424e 100755 --- a/init/systemd/dwelling-radio.service +++ b/init/systemd/dwelling-radio.service @@ -10,7 +10,7 @@ ExecStart=/usr/bin/dwelling-radio -conf /etc/dwelling/radio.yaml ReadOnlyPaths=/ NoExecPaths=/ -ExecPaths=/usr/bin/dwelling-radio /usr/bin/bash /usr/bin/tail /usr/bin/head /usr/bin/cut +ExecPaths=/usr/bin/dwelling-radio /usr/bin/bash /usr/bin/tail /usr/bin/head /usr/bin/cut /usr/lib64 LogsDirectory=dwelling-radio RuntimeDirectory=dwelling-radio