1 2 3 4 5
#!/bin/sh chown -R runit-log:adm '{{ logdir }}' chmod 750 '{{ logdir }}' chmod u+rw,g+r,o-rwx '{{ logdir }}'/* exec chpst -u runit-log svlogd -tt '{{ logdir }}'