Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
itk-demo-optoboard
Manage
Activity
Members
Labels
Plan
Issues
15
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ATLAS ITk Pixel System Test
itk-demo-sw
itk-demo-optoboard
Merge requests
!143
s6 script 'finish'
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
s6 script 'finish'
mg-s6script
into
main
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
Marianna Glazewska
requested to merge
mg-s6script
into
main
1 month ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Expand
👍
0
👎
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
a83e0076
1 commit,
1 month ago
1 file
+
12
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
api/root/etc/s6-overlay/s6-rc.d/run-service/finish
0 → 100755
+
12
−
0
Options
#!/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