chore(tooling): update deploy workflow to not need root
All checks were successful
/ build (push) Successful in 26s
/ deploy (push) Successful in 5s
/ test (push) Successful in 21s
/ publish (push) Successful in 7s

This commit is contained in:
Julien Dessaux 2025-03-15 23:30:39 +01:00
parent 5ef1491d35
commit 40ccb04ec5
Signed by: adyxax
GPG key ID: F92E51B86E07177E
3 changed files with 12 additions and 9 deletions

View file

@ -29,22 +29,16 @@ file, sorry for not sharing it.
## Systemd service
I use this simple systemd service unit to run ODS:
I use this simple systemd user service unit to run ODS as an unprivileged user:
``` ini
[Unit]
After=network-online.target
Description=ods.adyxax.org service
Wants=network-online.target
[Service]
DynamicUser=yes
Environment="ODS_PORT=8090"
ExecStart=/usr/local/bin/ods
Type=simple
[Install]
WantedBy=multi-user.target
```
## Nginx reverse proxy