diff options
| author | Guillermo Ramos | 2025-02-17 15:44:26 +0100 |
|---|---|---|
| committer | Guillermo Ramos | 2025-02-17 15:44:26 +0100 |
| commit | 4e766cc4d1f46ab8851d77684382f5f6c10b7dce (patch) | |
| tree | d831ab9c8288cd9db4d04f19de0bca67fa527d8b | |
| parent | 5f3ececdd7b2429c425ef056fdf5209cf4515233 (diff) | |
| download | s6-services-4e766cc4d1f46ab8851d77684382f5f6c10b7dce.tar.gz | |
hiccup service
| -rw-r--r-- | hiccup/env.sample | 3 | ||||
| l--------- | hiccup/log/run | 1 | ||||
| -rwxr-xr-x | hiccup/run | 12 |
3 files changed, 16 insertions, 0 deletions
diff --git a/hiccup/env.sample b/hiccup/env.sample new file mode 100644 index 0000000..eb6231c --- /dev/null +++ b/hiccup/env.sample @@ -0,0 +1,3 @@ +HOME=/home/someone +HICCUP_USER=someone +HICCUP_PATH=/home/someone/hiccup diff --git a/hiccup/log/run b/hiccup/log/run new file mode 120000 index 0000000..04b2c93 --- /dev/null +++ b/hiccup/log/run @@ -0,0 +1 @@ +../../.log/run
\ No newline at end of file diff --git a/hiccup/run b/hiccup/run new file mode 100755 index 0000000..dc7f2c9 --- /dev/null +++ b/hiccup/run @@ -0,0 +1,12 @@ +#!/bin/execlineb + +envfile env + +importas -S HICCUP_USER +s6-setuidgid $HICCUP_USER + +importas -S HICCUP_PATH +cd $HICCUP_PATH + +foreground { make build } +target/release/web |
