10 lines
188 B
Bash
Executable File
10 lines
188 B
Bash
Executable File
#!/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"
|