Skip to content

Commit fa3be97

Browse files
authored
Fix ambiguous postinst option -s (#481)
1 parent c8e10bf commit fa3be97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.scripts/postinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44

55
echo "Creating user and group..."
66

7-
adduser -s /sbin/nologin --no-create-home -c "Mongodb Exporter User" mongodb_exporter
7+
adduser --system --no-create-home -c "Mongodb Exporter User" mongodb_exporter
88

99
systemctl daemon-reload > dev/null || exit $?
1010

0 commit comments

Comments
 (0)