Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
315 B
9
Indexable
Never
  fu@void  ~  cd /etc/sv/forgejo/
  fu@void  /etc/sv/forgejo  cat run
#!/bin/sh

export USER="fu"
export HOME="/home/fu"

#groups="$(id -Gn "$USER" | tr ' ' ':')"
#svdir="$HOME/service"

exec 2>&1

cd "${HOME}"
exec chpst -u fu:fu forgejo --work-path /home/fu/srv/git/ 2>&1
Leave a Comment