summary refs log tree commit diff
path: root/os/etc/s6-rc/src/startpage
diff options
context:
space:
mode:
Diffstat (limited to 'os/etc/s6-rc/src/startpage')
-rw-r--r--os/etc/s6-rc/src/startpage/run8
-rw-r--r--os/etc/s6-rc/src/startpage/type1
2 files changed, 9 insertions, 0 deletions
diff --git a/os/etc/s6-rc/src/startpage/run b/os/etc/s6-rc/src/startpage/run
new file mode 100644
index 0000000..c300f0b
--- /dev/null
+++ b/os/etc/s6-rc/src/startpage/run
@@ -0,0 +1,8 @@
+#!/bin/execlineb -P
+
+#redirfd -w 1 /dev/null
+#redirfd -w 2 /dev/null
+
+cd /home/robert/src/startpage/
+foreground { /usr/bin/go build . }
+exec /home/robert/src/startpage/startpage
diff --git a/os/etc/s6-rc/src/startpage/type b/os/etc/s6-rc/src/startpage/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/os/etc/s6-rc/src/startpage/type
@@ -0,0 +1 @@
+longrun