diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-04-30 16:10:11 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-04-30 16:10:20 +0200 |
| commit | 42fc9a475070728fde00909310cd7a995168425b (patch) | |
| tree | 9f43a6683750414dfe1ecd0b2ae7de42468550de /README.md | |
| parent | 8cc11c52a88ec78d175b3ec8de854916f631caab (diff) | |
Add some shell helpers
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -19,14 +19,16 @@ returns 404. ## Install -Build from source: +On the server, you need the `estampa` binary (CGI handler + cleanup +tool) and the `estampa-ssh` wrapper (forced command for the upload +account). Build from source: ```sh cargo build --release sudo install -m 755 target/release/estampa /usr/bin/estampa +sudo install -m 755 extras/estampa-ssh /usr/local/bin/estampa-ssh ``` -Prebuilt packages are available on [build.r.bdr.sh][build]. ## Serving (nginx + fcgiwrap) @@ -74,7 +76,7 @@ To wire that up: ```sh sudo install -d -m 755 /srv/estampa -sudo useradd estampa -s /usr/sbin/nologin --home /srv/http/estampa +sudo useradd estampa -s /usr/sbin/nologin --home /srv/estampa sudo chown estampa:estampa /srv/estampa sudo install -d -m 700 -o estampa -g estampa /srv/estampa/.ssh sudo -u estampa touch /srv/estampa/.ssh/authorized_keys |