File: run

package info (click to toggle)
runit-services 0.2.3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 136 kB
  • ctags: 3
  • sloc: sh: 101; makefile: 36
file content (11 lines) | stat: -rwxr-xr-x 247 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
exec 2>&1

# sshd wants to be started with absolute pathname
SSHD=$(which sshd) || sv down $(pwd)

exec "$SSHD" -D -e

# memory limits set by chpst are inherited to subprocesses,
# disabled by default
#exec chpst -m8000000 "$SSHD" -D -e