Comments (3)
@klingtnet Thank you
However, I'm using capistrano style deployment, and ExecReload together with WorkingDir does not work well, it's a hit and miss, sometimes it works, many times don't
from endless.
The process is the same as for any other systemd service script except that ExecReload
should be defined. You can probably copy and paste the example from the manual:
[Service]
...
ExecReload=/bin/kill -HUP $MAINPID
...
from endless.
That's strange, systemd should keep track of the processes new PID
and the working dir should also be inherited from the forked process.
Unfortunately, I don't have any experience with Ruby/capistrano, so good luck.
from endless.
Related Issues (20)
- FD leak on linux after restart HOT 1
- can't this project build in Windows? HOT 6
- can't work with systemd HOT 2
- accept tcp 127.0.0.1:4242: use of closed network connection HOT 3
- endless.NewServer() Struct Variable
- how to use with r.Run(":8080") and r.RunTLS(":8443", "server.pem", "server.key") HOT 1
- Support Http2.0 HOT 1
- add go mod
- fork() should use cmd.Run() rather than cmd.Start() HOT 1
- go build command-line-arguments: copying /tmp/go-build042781492/b001/exe/a.out: open main: text file busy
- net.FileListener error: file file+net : getsockopt: socket operation on non-socket
- POST_SIGNAL shutdown server not run
- I tried to get the app to send a SIGHUP signal to reload itself and got a "text file busy" error
- Build for Windows on compilers smaller than go1.10 HOT 1
- windows endless.go:64:11: undefined: syscall.SIGUSR1 HOT 1
- Abandoned project? HOT 3
- reload daemon then http server can't listen on other port
- can't use go build, show too many errors
- Feature Request: Support Listeners on Unix sockets instead of TCP
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 endless.