% cat ~/service/.svscan/run #!/bin/sh # normal user has his own svscan exec 2>&1 exec env - \ PATH=/command:/bin:/sbin:/usr/bin:/usr/local/bin:$HOME/bin \ /command/svscan $HOME/service > $HOME/service/.svscan/log
% cat /service/wdm/run #!/bin/sh exec 2>&1 # uncomment below if you use font server # /command/svc -u /service/xfs # sleep 3 exec /usr/X11R6/bin/wdm -nodaemon