aboutsummaryrefslogtreecommitdiffstats
path: root/mkosi.postinst
diff options
context:
space:
mode:
authorChristopher McDowell <cmd@mcdowell.im>2019-11-15 19:49:52 +0100
committerChristopher McDowell <cmd@mcdowell.im>2019-11-15 19:49:52 +0100
commit595b4a214cf204c15fc83e58854877cdf8f890af (patch)
tree1682ba7aaa42ab5413974cafae004f5ea33555db /mkosi.postinst
downloadmkosi-bitwarden_rs-595b4a214cf204c15fc83e58854877cdf8f890af.tar.gz
Initial commit
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"