mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-28 11:13:40 +00:00
9 lines
236 B
Bash
9 lines
236 B
Bash
|
#!/usr/bin/env bash
|
||
|
set -xe
|
||
|
if [ -f "$HOME/.webserver.sock" ]; then
|
||
|
rm -f "$HOME/.webserver.sock" || true
|
||
|
fi
|
||
|
|
||
|
exec /run/current-system/sw/bin/nix-shell --command "caddy run -config vern.Caddyfile -adapter caddyfile --watch --resume"
|
||
|
|