Merge pull request #546 from tobiasge/drop-privileges

Drops privileges to user 101 and group 0
This commit is contained in:
Tobias Genannt 2021-09-17 10:53:08 +02:00 committed by GitHub
commit 1d040ad64d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,4 +51,6 @@ exec unitd \
--pid /opt/unit/unit.pid \ --pid /opt/unit/unit.pid \
--log /dev/stdout \ --log /dev/stdout \
--state /opt/unit/state/ \ --state /opt/unit/state/ \
--tmp /opt/unit/tmp/ --tmp /opt/unit/tmp/ \
--user 101 \
--group 0