Skip to content

Commit 747878d

Browse files
committed
Remove debug logging
1 parent c4b0b50 commit 747878d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

  • rootfs/etc/s6-overlay/s6-rc.d/unitd

rootfs/etc/s6-overlay/s6-rc.d/unitd/run

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,14 @@ main() {
77
exec > >(while read line; do echo "[unitd] ${line}"; done) 2>&1
88

99
local unitSocket="${UNIT_SOCKET:?}"
10-
11-
echo "> Start"
1210

1311
# This is for legacy support for versions prior to 1.30.0
1412
if [ -d "/opt/unit" ] && [ -x "/opt/unit/sbin/unitd" ]; then
15-
echo "> Legacy"
13+
echo "Legacy Unit installation detected, starting Unit from /opt/unit"
1614
/opt/unit/sbin/unitd --no-daemon --tmp "/tmp" --state "/var/lib/unit/state" --modules "/opt/unit/modules" --control "unix:${unitSocket}"
1715
return
1816
fi
1917

20-
echo "> Current"
2118
/usr/local/sbin/unitd --no-daemon --control "unix:${unitSocket}"
2219
}
2320

0 commit comments

Comments
 (0)