Now it is statically linked.
This commit is contained in:
parent
1e6b51a2c0
commit
29cc7afb77
2
Makefile
2
Makefile
@ -4,7 +4,7 @@ SYSDDIR_=${shell pkg-config systemd --variable=systemdsystemunitdir}
|
|||||||
SYSDDIR=${SYSDDIR_:/%=%}
|
SYSDDIR=${SYSDDIR_:/%=%}
|
||||||
DESTDIR=/
|
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}
|
all: ${TARGET}
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ ExecStart=/usr/bin/dwelling-radio -conf /etc/dwelling/radio.yaml
|
|||||||
|
|
||||||
ReadOnlyPaths=/
|
ReadOnlyPaths=/
|
||||||
NoExecPaths=/
|
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
|
LogsDirectory=dwelling-radio
|
||||||
RuntimeDirectory=dwelling-radio
|
RuntimeDirectory=dwelling-radio
|
||||||
|
Loading…
Reference in New Issue
Block a user