diff options
| author | ozpv <39195175+ozpv@users.noreply.github.com> | 2026-05-30 15:27:41 -0500 |
|---|---|---|
| committer | ozpv <39195175+ozpv@users.noreply.github.com> | 2026-05-30 15:27:41 -0500 |
| commit | d7e2a319ce4be803e4b761d16377886b52908a2d (patch) | |
| tree | c75b6437f68b0b81c79797114a437a3bfac8eaab | |
| parent | 15c1f4d38d4cc44cb16cb5a1dca26aa92457ac23 (diff) | |
deployment files
| -rw-r--r-- | VARFILE | 2 | ||||
| -rw-r--r-- | deploy.sh | 3 | ||||
| -rw-r--r-- | site.service | 12 |
3 files changed, 17 insertions, 0 deletions
@@ -0,0 +1,2 @@ +SITE_ADDR="127.0.0.1:8000" +DIST_DIR="/srv/site/public" diff --git a/deploy.sh b/deploy.sh new file mode 100644 index 0000000..d275a76 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +patchelf --set-interpreter /usr/lib64/ld-linux-x86-64.so.2 ./target/release/haemolacriaa diff --git a/site.service b/site.service new file mode 100644 index 0000000..e66ab58 --- /dev/null +++ b/site.service @@ -0,0 +1,12 @@ +[Unit] +Description=webserver for haemolacriaa.com + +[Service] +Type=simple +EnvironmentFile=/srv/site/VARFILE +ExecStart=/srv/site/site +WorkingDirectory=/srv/site +Restart=always + +[Install] +WantedBy=multi-user.target |
