jobcore/jobo-setup/66-user-up
2023-06-04 03:53:15 +03:00

11 lines
341 B
Bash
Executable file

#!/usr/bin/sh
echo "enable and start user level supervision with s6"
sudo 66-all -v2 -t boot-user up
uname=$(id -nu 1000)
: "${uname:=$(id -nu 1000)}"
echo "enter your username or $uname will be used"
read uname
: "${uname:=$(id -nu 1000)}"
sudo -u $uname 66-all -v2 -t base up
sudo 66-intree -zg boot-user
sudo -u $uname 66-intree -zg base