aboutsummaryrefslogtreecommitdiffstats
path: root/mkosi.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-xmkosi.postinst9
1 files changed, 9 insertions, 0 deletions
diff --git a/mkosi.postinst b/mkosi.postinst
new file mode 100755
index 0000000..4fcdfc3
--- /dev/null
+++ b/mkosi.postinst
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+export ROCKET_ENV=staging \
+ ROCKET_PORT=8080 \
+ ROCKET_WORKERS=10
+
+mkdir /web-vault
+cp -r /root/web-vault/* /web-vault/. || echo "build"
+/root/app/target/release/bitwarden_rs || echo "build"