cli: Check pid file before random_delay
If there is another process running now, there is no need to wait, especially without pidfile, so create such file immediately, then wait if needed.
If there is another process running now, there is no need to wait, especially without pidfile, so create such file immediately, then wait if needed.
Step 1. Fetch and check out the branch for this merge request
git fetch "https://lab.nexedi.com/luke/slapos.core.git" "feature/check-pid-before-delay" git checkout -b "luke/slapos.core-feature/check-pid-before-delay" FETCH_HEAD
Step 2. Review the changes locally
Step 3. Merge the branch and fix any conflicts that come up
git fetch origin git checkout "origin/master" git merge --no-ff "luke/slapos.core-feature/check-pid-before-delay"
Step 4. Push the result of the merge to GitLab
git push origin "master"
Note that pushing to GitLab requires write access to this repository.
Tip: You can also checkout merge requests locally by following these guidelines.