Okay, without dynamically linked libc it gets permission denied error when running bash.
This commit is contained in:
parent
ebfe0b42b4
commit
63c9c2b036
2
Makefile
2
Makefile
@ -5,7 +5,7 @@ SYSDDIR_=${shell pkg-config systemd --variable=systemdsystemunitdir}
|
|||||||
SYSDDIR=${SYSDDIR_:/%=%}
|
SYSDDIR=${SYSDDIR_:/%=%}
|
||||||
DESTDIR=/
|
DESTDIR=/
|
||||||
|
|
||||||
LDFLAGS=-ldflags "-s -w" -tags osusergo,netgo
|
LDFLAGS=-ldflags "-s -w"
|
||||||
|
|
||||||
all: ${TARGET}
|
all: ${TARGET}
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ ExecStart=/usr/bin/dwelling-radio -conf /etc/dwelling/radio.yaml
|
|||||||
|
|
||||||
ReadOnlyPaths=/
|
ReadOnlyPaths=/
|
||||||
NoExecPaths=/
|
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
|
LogsDirectory=dwelling-radio
|
||||||
RuntimeDirectory=dwelling-radio
|
RuntimeDirectory=dwelling-radio
|
||||||
|
Loading…
Reference in New Issue
Block a user