Comments (6)
formats changed from 0.3.x to 0.4.x so
forever stopall && rm -rf /tmp/forever
from forever.
i'd never had 0.3.x installed . if i do that then it allows me to start - but then stops working - see here :
rrr@xxxxx:/u/apps/example# forever stopall && rm -rf /tmp/forever info: Running action: stopall info: No forever processes running rrr@xxxxx:/u/apps/example# forever start -l log -e log -o log boot info: Forever processing arguments arg=boot info: Running action: start rrr@xxxxx:/u/apps/example# forever stop boot info: Forever processing arguments arg=boot info: Running action: stop info: Forever stopped process: [0] boot [17335, 17334] /tmp/forever/log 0:0:0:6.717 rrr@xxxxx:/u/apps/example# forever start -l log -e log -o log boot info: Forever processing arguments arg=boot info: Running action: start error: Cannot start forever: log file /tmp/forever/log exists.
from forever.
This is by design. I've actually been debating the best thing to do here. You run start, then stop it, then start it again passing explicit paths for the location of the log files.
In this scenario do you want forever to
- Overwrite those files
- Append to those files
- Throw an error telling you to remove those files
Currently it does (3), so that's why it is telling you error: Cannot start forever: log file /tmp/forever/log exists.
... I could change the behavior to be (1) or (2), but I've been unsure what users think.
from forever.
[2] without a shadow of a doubt.
from forever.
ok, for now, just kill the file. I'll add that onto 0.4.2
from forever.
Added as an issue: https://github.com/indexzero/forever/issues/33
from forever.
Related Issues (20)
- How to interface with forever on deployments? HOT 1
- TypeError: forever.config.saveSync is not a function HOT 2
- 4.0.1 released on npmjs.com but not tagged/released on github HOT 2
- Do not send to user list
- Windows 10: current version of forever ? HOT 1
- forever/bin/monitor still keep the output log File descriptor in memory although i deleted them HOT 1
- Vulnerable dependencies on [email protected] HOT 3
- Run forever script on Windows, show processing but not forever processes running
- [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (1505) HOT 3
- security fix: pin or replace `colors` dependency HOT 14
- Running the "forever list" on ubuntu showing the following output HOT 3
- stopall gets stuck sometimes
- --plain flag is ignored/does not work in forever 4.0.3 HOT 2
- latest version has vulnarable dependencies HOT 1
- Uptime format
- Issue starting multiple servers in one command
- any guide for next js 13?
- how to find the exit reason of process HOT 1
- AIX 7.3 TL 1 forever errors
- how to save old history log instead of delete.. 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 forever.