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