GithubHelp home page GithubHelp logo

error time on 0.4.1 (node) about forever HOT 6 CLOSED

foreversd avatar foreversd commented on August 23, 2024
error time on 0.4.1 (node)

from forever.

Comments (6)

indexzero avatar indexzero commented on August 23, 2024

formats changed from 0.3.x to 0.4.x so

forever stopall && rm -rf /tmp/forever

from forever.

weepy avatar weepy commented on August 23, 2024

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.

indexzero avatar indexzero commented on August 23, 2024

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

  1. Overwrite those files
  2. Append to those files
  3. 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.

weepy avatar weepy commented on August 23, 2024

[2] without a shadow of a doubt.

from forever.

indexzero avatar indexzero commented on August 23, 2024

ok, for now, just kill the file. I'll add that onto 0.4.2

from forever.

indexzero avatar indexzero commented on August 23, 2024

Added as an issue: https://github.com/indexzero/forever/issues/33

from forever.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.