-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(common-service): runit support #985
base: main
Are you sure you want to change the base?
Conversation
runit) | ||
"$ESCALATION_TOOL" mkdir -p "/run/runit/supervise.$1" | ||
"$ESCALATION_TOOL" ln -sf "/etc/sv/$1" "/var/service/" | ||
sleep 5 | ||
;; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ref #986 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
runit)
"$ESCALATION_TOOL" ln -sf "/etc/sv/$1" "/var/service/"
;;
Ultimately it can work like this. The problem I'm having is when installing docker, this error "warning: docker: unable to open supervise/ok: file does not exist" and shows it failing. However when i immediately rerun the script, it shows docker is installed and when I check, it's running. Honestly I'm at the limits of how to fix this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
runit)
"$ESCALATION_TOOL" ln -sf "/etc/sv/$1" "/var/service/"
sleep 5
;;
this is the only way i can get it to work without errors
Type of Change
Description
I have updated the service script to address runit
Testing
Tested in Void Linux and Antix
Issues / other PRs related
Additional Information
Checklist