configuration/root/etc/sv/runsvuserdir/run

10 lines
188 B
Plaintext
Raw Normal View History

2022-01-06 08:07:51 +01:00
#!/bin/sh
export USER=ninewise
export HOME=/home/ninewise
. $HOME/.profile
groups="$(id -Gn ninewise | tr ' ' ':')"
svdir="$HOME/service"
exec chpst -u "$USER:$groups" runsvdir "$svdir"