Skip to content

Commit

Permalink
Move the ulimit -n call from 01-startup/script.sh to the 02-dbus/run
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebrady committed Jun 9, 2024
1 parent 0d96857 commit aade1b3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
3 changes: 0 additions & 3 deletions docker/classic/etc/s6-overlay/s6-rc.d/01-startup/script.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/bin/sh
echo "STARTING - $(date)"

# Set the limit to the same value Docker has been using in earlier version.
ulimit -n 1048576
4 changes: 4 additions & 0 deletions docker/classic/etc/s6-overlay/s6-rc.d/02-dbus/run
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#!/command/with-contenv sh

# Set the limit to the same value Docker has been using in earlier version.
ulimit -n 1048576

echo "Starting dbus"
exec s6-notifyoncheck dbus-daemon --system --nofork --nopidfile
3 changes: 0 additions & 3 deletions docker/etc/s6-overlay/s6-rc.d/01-startup/script.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/bin/sh
echo "STARTING - $(date)"

# Set the limit to the same value Docker has been using in earlier version.
ulimit -n 1048576
4 changes: 4 additions & 0 deletions docker/etc/s6-overlay/s6-rc.d/02-dbus/run
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#!/command/with-contenv sh

# Set the limit to the same value Docker has been using in earlier version.
ulimit -n 1048576

echo "Starting dbus"
exec s6-notifyoncheck dbus-daemon --system --nofork --nopidfile

0 comments on commit aade1b3

Please sign in to comment.