hacks/sandbox/my_init

10 lines
194 B
Plaintext
Raw Normal View History

2016-04-08 02:33:24 +00:00
#!/bin/bash
export > /etc/environment
/usr/sbin/runsvdir-start &
sleep 1
if [[ ! -e /var/log/syslog ]]; then
touch /var/log/syslog
fi
exec tail -qf /var/log/syslog /etc/service/*/log/*.log