Comments (5)
Just to be clear, are you suggesting that instead of daemonizing processes using nohup
(as ZewoFlock and company currently do), Flock should integrate with systemd
and/or related tools to automatically restart processes on failure?
If so, I think it's a smart idea and should be pursued in the server specific Flock packages (like ZewoFlock) rather than the general Flock package itself
from flock.
Why do you think so? Swift applications have a nasty tendency to crash with no way to recover (optional unwrap, index-out-of-bounds, fatalerror). I would say its pretty vital for a service like Flock that manages your application to restart it if that happens.
from flock.
My reasoning was essentially that, as of right now, Flock isn't actually in charge of starting any processes, be it through nohup
or systemd
; it delegates that work to ZewoFlock and the like. I could see value in centralizing this functionality in Flock though, as you're suggesting, since I would guess that regardless of Swift server library this functionality would be desired
from flock.
I decided to include systemd
functionality within Flock itself, as you suggested, and then allow servers from within their own packages to take advantage of this functionality. VaporFlock and ZewoFlock both do so now
from flock.
Didn't see this until now - awesome! Thanks for being so responsive :)
from flock.
Related Issues (15)
- Possibility to choose git branch HOT 1
- `flock --update` fails HOT 2
- error: unsatisfiable HOT 1
- Error: no such module 'SSH' HOT 4
- Swift 4 support? HOT 2
- Unable to install Flock HOT 1
- Is this still being maintained?
- An error occurred while installing. HOT 7
- "The dependency graph could not be satisfied" HOT 1
- Login as non-sudo user HOT 5
- supervisorctl fails to load vapor HOT 9
- SSH Forward Agent is ignored HOT 3
- Password protected ssh key asks for password on each command HOT 2
- Can't use with xcode HOT 3
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 flock.