Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions contrib/deb/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ cat > /tmp/$PKGNAME/debian/postinst << EOF

systemctl daemon-reload

if ! getent group yggdrasil 2>&1 > /dev/null; then
groupadd --system --force yggdrasil
fi
adduser --system --home /nonexistant --no-create-home --group --quiet yggdrasil

if [ ! -d /etc/yggdrasil ];
then
Expand Down
2 changes: 1 addition & 1 deletion contrib/systemd/yggdrasil.service.debian
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ After=network-online.target
After=yggdrasil-default-config.service

[Service]
Group=yggdrasil
User=yggdrasil
ProtectHome=true
ProtectSystem=strict
NoNewPrivileges=true
Expand Down
Loading