diff options
Diffstat (limited to 'data/logscript')
-rw-r--r-- | data/logscript | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/data/logscript b/data/logscript new file mode 100644 index 0000000..1ebfb77 --- /dev/null +++ b/data/logscript | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/bin/sh | ||
2 | chown -R runit-log:adm '{{ logdir }}' | ||
3 | chmod 750 '{{ logdir }}' | ||
4 | chmod u+rw,g+r,o-rwx '{{ logdir }}'/* | ||
5 | exec chpst -u runit-log svlogd -tt '{{ logdir }}' | ||