Skip to content

Commit 1d040ad

Browse files
authored
Merge pull request #546 from tobiasge/drop-privileges
Drops privileges to user 101 and group 0
2 parents 8703749 + 03a1793 commit 1d040ad

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker/launch-netbox.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,6 @@ exec unitd \
5151
--pid /opt/unit/unit.pid \
5252
--log /dev/stdout \
5353
--state /opt/unit/state/ \
54-
--tmp /opt/unit/tmp/
54+
--tmp /opt/unit/tmp/ \
55+
--user 101 \
56+
--group 0

0 commit comments

Comments
 (0)