jobcore/jobo-setup/66-user-up

12 lines
341 B
Text
Raw Permalink Normal View History

2023-06-04 02:53:15 +02:00
#!/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