Skip to content
Snippets Groups Projects

s6 script 'finish'

Merged Marianna Glazewska requested to merge mg-s6script into main
1 file
+ 12
0
Compare changes
  • Side-by-side
  • Inline
#!/command/with-contenv bash
ITK_UID=$(id -u itk)
# Check if the UID is different from 1111
if [ "$ITK_UID" -ne 1111 ]; then
echo "Taking posession of /workspace with 'itk' UID $ITK_UID."
demiown -R itk:itk /workspace
else
echo "The user 'itk' has UID 1111, meaning it is probably not cloning your local UID."
fi
echo "PANDA"
Loading