9d15e442af
Closes #657 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
10 lines
173 B
Bash
Executable File
10 lines
173 B
Bash
Executable File
#!/bin/sh
|
|
|
|
export USER="mobilizon"
|
|
export HOME="/home/$USER"
|
|
|
|
groups="$(id -Gn "$USER" | tr ' ' ':')"
|
|
svdir="$HOME/service"
|
|
|
|
exec chpst -u "$USER:$groups" runsvdir "$svdir"
|