question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Which is the alternative to id/uid (which are marked as DEPRECATED)?

See original GitHub issue

According to the doc, both --id and --uid are DEPRECATED. So, in case I want to assign “ids” to my daemons to easily manage them via CLI, which is the proper alternative? AFAIS the documentation does not provide any other way.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:5
  • Comments:7

github_iconTop GitHub Comments

3reactions
aviramartaccommented, Feb 28, 2018

Ditto on this…?

0reactions
ken-docommented, Feb 5, 2021

I’m getting the same issue as @anistark , which took me a while to figure out (thought it was something with the Jenkins server…), it was fixed after I switched to forever. My current approach is to launch each instance of my application on a dedicate PORT, like this: PORT=${portNumber} npx forever start my_app.js

Then save the pid of the process running on that port somewhere using this command lsof -t -i:${portNumber} ( save this as processId)

And kill it later with npx forever stop ${processId}

Read more comments on GitHub >

github_iconTop Results From Across the Web

Which is the alternative to id/uid (which are marked ... - GitHub
According to the doc, both --id and --uid are DEPRECATED. ... Which is the alternative to id/uid (which are marked as DEPRECATED)? #949....
Read more >
How to declare or mark a Java method as deprecated?
The @deprecated JavaDoc tag is used for documentation purposes. The @Deprecated annotation instructs the compiler that the method is deprecated.
Read more >
US20140033165A1 - Method and system to determine component ...
The “replaced-by” attribute indicates the name of a replacement service that may be suggested to a developer as an alternative to the deprecated...
Read more >
How and When to Deprecate APIs - Oracle Help Center
NOTE: The Java Language Specification requires compilers to issue warnings when classes, methods, or fields marked with the @Deprecated annotation are used.
Read more >
Alternative to EntityManger FindSingle function - iMIS SDK
Alternative to EntityManger FindSingle function ... The FindSingle function has been deprecated for the Asi.Soa. ... Marked as answered by John Mann.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found