summarylogtreecommitdiffstats
path: root/teamviewer-log.run
diff options
context:
space:
mode:
Diffstat (limited to 'teamviewer-log.run')
-rw-r--r--teamviewer-log.run5
1 files changed, 5 insertions, 0 deletions
diff --git a/teamviewer-log.run b/teamviewer-log.run
new file mode 100644
index 000000000000..5263857d8c3d
--- /dev/null
+++ b/teamviewer-log.run
@@ -0,0 +1,5 @@
+#!/usr/bin/execlineb -P
+foreground { if -n -t { test -d /var/log/teamviewer } install -d -m 0755 -o s6log -g s6log /var/log/teamviewer }
+envfile /etc/s6/sv/teamviewer-log/conf
+importas -sCiu DIRECTIVES DIRECTIVES
+s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/teamviewer