This commit is contained in:
2016-04-08 13:43:57 +02:00
commit 0af5591722
8 changed files with 1041 additions and 0 deletions

9
my_init Normal file
View File

@@ -0,0 +1,9 @@
#!/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