diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-11-21 13:55:12 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-11-21 13:55:12 +0100 |
commit | 9bc697b85a69af4d1a270aa5272db150c98bed42 (patch) | |
tree | 93d3d1172ef9fc6de8dad6e56e8226146722029e /run-with-fake-mounts.sh | |
download | koszko-org-server-9bc697b85a69af4d1a270aa5272db150c98bed42.tar.gz koszko-org-server-9bc697b85a69af4d1a270aa5272db150c98bed42.zip |
initial commit
Diffstat (limited to 'run-with-fake-mounts.sh')
-rwxr-xr-x | run-with-fake-mounts.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/run-with-fake-mounts.sh b/run-with-fake-mounts.sh new file mode 100755 index 0000000..75675ed --- /dev/null +++ b/run-with-fake-mounts.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +# SPDX-License-Identifier: CC0-1.0 + +# Copyright (C) 2022 Wojtek Kosior <koszko@koszko.org> +# +# Available under the terms of Creative Commons Zero v1.0 Universal. + +set -e + +mkdir -p /var/www +mount -t tmpfs dummy /var/www +mkdir -p /var/www/koszko.org/html + +printf ':D\n' > /var/www/koszko.org/html/index.html + +"$@" |