vorakl / trivialrc Goto Github PK
View Code? Open in Web Editor NEWA trivial process manager for containers and applications
Home Page: https://trivialrc.vorakl.com/
License: MIT License
A trivial process manager for containers and applications
Home Page: https://trivialrc.vorakl.com/
License: MIT License
Hello,
I cannot get my halt script to execute after main command executed.
I am running with dumb-init executing trivialRC and trc exits after executing the command defined in my dockerfile.
RC_VERBOSE does not seem to indicate that it is looking for halt scripts.
*Update: halt scripts are not executed even without dumb-init
Below is a verbose output
2018-03-06 07:00:31 trc [main/1]: The wait policy: wait_err
2018-03-06 07:00:31 trc [main/1]: - Looking for `boot` scripts and commands...
2018-03-06 07:00:31 trc [main/1]: Launching in the boot: /etc/trc.d/boot.00-lock_instance
2018-03-06 07:00:31 trc [main/1]: Launching in the boot: /etc/trc.d/boot.00-set_splunk_envs
2018-03-06 07:00:31 trc [main/1]: Launching in the boot: /etc/trc.d/boot.00-update_path
2018-03-06 07:00:31 trc [main/1]: - Looking for `halt` commands...
2018-03-06 07:00:31 trc [main/1]: - Looking for `async` scripts and commands...
2018-03-06 07:00:31 trc [main/1]: - Looking for `sync` scripts and commands...
2018-03-06 07:00:31 trc [sync/60]: Launching in the foreground: /etc/trc.d/sync.00-check-splunk-license-and-configs
2018-03-06 07:00:31 trc [sync/60]: - exit-trap (exitcode=0)
2018-03-06 07:00:31 trc [sync/60]: Exiting in the foreground (exitcode=0): /etc/trc.d/sync.00-check-splunk-license-and-configs
2018-03-06 07:00:31 trc [sync/81]: Launching in the foreground: /etc/trc.d/sync.00-fix_splunk_permissions
2018-03-06 07:00:31 trc [sync/81]: - exit-trap (exitcode=0)
2018-03-06 07:00:31 trc [sync/81]: Exiting in the foreground (exitcode=0): /etc/trc.d/sync.00-fix_splunk_permissions
2018-03-06 07:00:31 trc [sync/98]: Launching in the foreground: /etc/trc.d/sync.10-check_if_splunk_is_configured
2018-03-06 07:00:31 trc [sync/98]: - exit-trap (exitcode=0)
2018-03-06 07:00:31 trc [sync/98]: Exiting in the foreground (exitcode=0): /etc/trc.d/sync.10-check_if_splunk_is_configured
2018-03-06 07:00:31 trc [sync/107]: Launching in the foreground: /etc/trc.d/sync.99-start_script
2018-03-06 07:00:31 trc [sync/107]: - exit-trap (exitcode=0)
2018-03-06 07:00:31 trc [sync/107]: Exiting in the foreground (exitcode=0): /etc/trc.d/sync.99-start_script
2018-03-06 07:00:31 trc [sync/122]: Launching in the foreground: echo hi
hi
2018-03-06 07:00:31 trc [sync/122]: - exit-trap (exitcode=0)
2018-03-06 07:00:31 trc [sync/122]: Exiting in the foreground (exitcode=0): echo hi
$
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.