summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-06 22:01:18 -0500
committerJeff Carr <[email protected]>2024-10-06 22:01:18 -0500
commitfface98131e9ef1e7070a61ac70f32959029725c (patch)
tree8bda99262a23f89683f727b523c0fcb772c728dd /build
parent99f38da618967ae8de2a373c05318ea16a6162d2 (diff)
files for making packages
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'build')
-rwxr-xr-xbuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..cbfa3e5
--- /dev/null
+++ b/build
@@ -0,0 +1,10 @@
+#!/bin/bash -x
+
+# this is the systemd control file
+mkdir -p files/lib/systemd/system/
+cp gowebd.service files/lib/systemd/system/
+
+# caddy file. propose this as the dir structure caddy should use
+mkdir -p files/etc/gowebd/
+cp Caddyfile.go.wit.com files/etc/gowebd/
+cp resources/repomap files/etc/gowebd/