1
0

Now it is statically linked.

This commit is contained in:
Alexander Andreev 2022-08-29 23:15:53 +04:00
parent 1e6b51a2c0
commit 29cc7afb77
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F
2 changed files with 2 additions and 2 deletions

View File

@ -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}

View File

@ -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