Comments (9)
Won't make it into this release...
from deliver.
You can make upstart listen to user commands, too. E.g. on one customer install I made upstart take user script config from .init.d and user was able to start/stop his upstart jobs processes.
If you add this to /etc/dbus-1/system.d/Upstart.conf, everyone in railsapp group will be able to send commands to upstart.
<policy group="railsapp">
<allow send_destination="com.ubuntu.Upstart"
send_interface="org.freedesktop.DBus.Properties" />
<allow send_destination="com.ubuntu.Upstart"
send_interface="com.ubuntu.Upstart0_6" />
<allow send_destination="com.ubuntu.Upstart"
send_interface="com.ubuntu.Upstart0_6.Job" />
<allow send_destination="com.ubuntu.Upstart"
send_interface="com.ubuntu.Upstart0_6.Instance" />
</policy>
Upstart init configuration scripts are then placed at ~/.init/ directory.
from deliver.
Very nice find ; ). I will look into this some more - thanks!
from deliver.
Now that most people should have migrated to 12.04, this might be helpful: Upstart Load User Jobs & Upstart User Job
from deliver.
Is there any way around the sudo upstart issue? -- Could we have a separate 'runas' user for foreman so the application can still be sandboxed? At the moment we seem to have a single user for both delivery and running the application.
from deliver.
@alexcurtis this has been open for far too long, I will look into this today and get back to you with a temporary solution.
from deliver.
@gerhard thanks :-)
from deliver.
@alexcurtis see #59, in particular the last commit.
from deliver.
The deliver successor (yes, it is happening!) will leverage runit most likely which has full support for user jobs. Closing this as it's outside the scope of the upcoming final release.
from deliver.
Related Issues (20)
- Static assets pushed to separate hosts HOT 1
- Rename SERVERS to HOSTS HOT 1
- PORT variable doesn't work HOT 6
- error in git push HOT 6
- Host keys are breaking in git_submodules()
- Authorize remote hosts explicitly
- Authorizing multiple hosts on initial deliver freezes HOT 1
- SIGINT during git push does not stop gracefully HOT 1
- Option to sync / check git remote parity before deliver HOT 1
- Generated strategy tries to push wrong revision HOT 1
- Illumos / smf support HOT 1
- Deliver requires /usr/bin/sh to be bash HOT 1
- Foreman, exports and init control HOT 1
- foreman export upstart tmp HOT 2
- bug in launch HOT 1
- tag v0.8.0 HOT 2
- Timeout during npm install HOT 4
- Does deliver support rollback? HOT 1
- Staging / Testing HOT 1
- Request: make it installable through npm HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deliver.