summarylogtreecommitdiffstats
path: root/webvirt-react-git.install
diff options
context:
space:
mode:
authorKevin Morris2023-02-12 06:55:25 -0800
committerKevin Morris2023-02-12 06:56:01 -0800
commitff1b3cda431cebe85eedcb3c2b2107ff89e7d06a (patch)
tree7f3446d6a8d8c2211e8dd9ff8c6969b44a62f05e /webvirt-react-git.install
downloadaur-ff1b3cda431cebe85eedcb3c2b2107ff89e7d06a.tar.gz
initial commit
Signed-off-by: Kevin Morris <kevr@0cost.org>
Diffstat (limited to 'webvirt-react-git.install')
-rw-r--r--webvirt-react-git.install21
1 files changed, 21 insertions, 0 deletions
diff --git a/webvirt-react-git.install b/webvirt-react-git.install
new file mode 100644
index 000000000000..463af97b515b
--- /dev/null
+++ b/webvirt-react-git.install
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+post_install() {
+ cat << EOF
+
+By default, webvirt.service runs an instance of nginx on localhost:8080.
+This can be modified in the nginx config at /var/lib/webvirt_react/nginx.conf.
+
+To start the website, start webvirt.service and browse to http://localhost:8080.
+
+EOF
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+op=$1
+shift
+
+$op $*