9 lines
173 B
Plaintext
9 lines
173 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
USER=@USER@
|
||
|
HOME="home/$USER"
|
||
|
GROUPS="$(id -Gn "$USER" | tr ' ' ':')"
|
||
|
SVDIR="$HOME/sv"
|
||
|
|
||
|
exec chpst -u "$USER:$GROUPS" sh -l -c "exec runsvdir $SVDIR $USER" $USER
|