summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/runit-scripts-mv/runitscripts/logger
blob: 6888f6fe4adf28783bb7107f011c25cefb52c5ab (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

svname=$( cd .. && basename $( pwd ) )
if [ ! -d /var/log/$svname ]
then
	mkdir /var/log/$svname
	chown root.root /var/log/$svname
	chmod 700 /var/log/$svname
fi

exec /sbin/svlogd -tt /var/log/$svname