summaryrefslogtreecommitdiff
path: root/xi/s6/db/basic/servicedirs/udevd-log/run.user
blob: 0bf9ad7dc3ebc84239dd9e3c1e53a089cf47b8fa (plain)
1
2
3
4
5
#!/bin/execlineb -P
foreground { if -n -t { test -d /var/log/udevd } install -d -m 0755 -o s6log -g s6log /var/log/udevd }
envfile /etc/s6/sv/udevd-log/conf
importas -sCiu DIRECTIVES DIRECTIVES
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/udevd