mtgrosser / passenger-systemd Goto Github PK
View Code? Open in Web Editor NEWRunning Phusion Passenger Standalone with systemd
License: MIT License
Running Phusion Passenger Standalone with systemd
License: MIT License
I already have all the environment variables needed for the app to work exported from ~/.bashrc
, so maybe executing source USER-PATH/.bashrc
in the passenger-app
script would do in order to get the app running as a daemon instead of exporting the env vars again from that file.
However, I wonder is there is some side effect or unintended consequence of doing it in that way.
Does anyone know whether that's a good idea (or even recommended) for setting up all the needed environment variables?
More of a comment than an issue..
I've been trying to combine this script with a capistrano, standalone passenger, and puppet...
The one stumbling block I have is setting the RAILS_ENV on a per-directory basis...
I'd love to be able to do systemctl restart passenger@app_name.staging and then somehow split parameter name within unit file to setup the environment, but this seems to be tricky..
I saw rbfu
being called in the script, is it mandatory? or can I use bundle exec
or even run passenger directly?
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.