Skip to content
Snippets Groups Projects
Verified Commit 8c37117b authored by Opt Out's avatar Opt Out
Browse files

Fixed bwrap execution of plague-time-sync | Fixed runit service sleep...

Fixed bwrap execution of plague-time-sync | Fixed runit service sleep invocation that was ignored when entering a new shell from bwrap exec
parent 25528e2c
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
exec 2>&1
exec bwrap --ro-bind / / --dev-bind /dev/ /dev/ --unshare-all --share-net --die-with-parent --new-session --cap-drop all --cap-add CAP_SYS_TIME /plague/bin/plague-time-sync
bwrap --ro-bind / / --dev-bind /dev/ /dev/ --share-net --die-with-parent --new-session --cap-drop all --cap-add CAP_SYS_TIME /plague/bin/plague-time-sync
sleep 21600
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment