11 lines
341 B
Bash
Executable file
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
|