diff options
| author | Robert Günzler <r@gnzler.io> | 2023-09-25 11:56:34 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2023-09-25 11:56:34 +0200 |
| commit | f5c219983c0f60a07f1bd52b6f6071e86f35455e (patch) | |
| tree | b7520a02b9822481f29aea4ccb404744a73414b1 /os/etc/s6-rc/src/waybar-log | |
| parent | 91ba318df1ff9b04d08af373ae904f61a91bf489 (diff) | |
add os config
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'os/etc/s6-rc/src/waybar-log')
| -rw-r--r-- | os/etc/s6-rc/src/waybar-log/consumer-for | 1 | ||||
| -rw-r--r-- | os/etc/s6-rc/src/waybar-log/notification-fd | 1 | ||||
| -rw-r--r-- | os/etc/s6-rc/src/waybar-log/pipeline-name | 1 | ||||
| -rw-r--r-- | os/etc/s6-rc/src/waybar-log/run | 9 | ||||
| -rw-r--r-- | os/etc/s6-rc/src/waybar-log/type | 1 |
5 files changed, 13 insertions, 0 deletions
diff --git a/os/etc/s6-rc/src/waybar-log/consumer-for b/os/etc/s6-rc/src/waybar-log/consumer-for new file mode 100644 index 0000000..386c88f --- /dev/null +++ b/os/etc/s6-rc/src/waybar-log/consumer-for @@ -0,0 +1 @@ +waybar-srv diff --git a/os/etc/s6-rc/src/waybar-log/notification-fd b/os/etc/s6-rc/src/waybar-log/notification-fd new file mode 100644 index 0000000..00750ed --- /dev/null +++ b/os/etc/s6-rc/src/waybar-log/notification-fd @@ -0,0 +1 @@ +3 diff --git a/os/etc/s6-rc/src/waybar-log/pipeline-name b/os/etc/s6-rc/src/waybar-log/pipeline-name new file mode 100644 index 0000000..677a91e --- /dev/null +++ b/os/etc/s6-rc/src/waybar-log/pipeline-name @@ -0,0 +1 @@ +waybar diff --git a/os/etc/s6-rc/src/waybar-log/run b/os/etc/s6-rc/src/waybar-log/run new file mode 100644 index 0000000..b9a03e1 --- /dev/null +++ b/os/etc/s6-rc/src/waybar-log/run @@ -0,0 +1,9 @@ +#!/bin/execlineb -P + +envfile /etc/s6-rc/config/log.conf +envfile -I /etc/s6-rc/config/waybar.conf +importas -sCuD "n2 s2000000 T" LOG_DIRECTIVES LOG_DIRECTIVES +importas -sCuD "/run/log" LOG_DIR LOG_DIR + +foreground { install -d ${LOG_DIR}/waybar } +s6-log -d3 -b -- ${LOG_DIRECTIVES} ${LOG_DIR}/waybar diff --git a/os/etc/s6-rc/src/waybar-log/type b/os/etc/s6-rc/src/waybar-log/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/os/etc/s6-rc/src/waybar-log/type @@ -0,0 +1 @@ +longrun |