htfhere
#programowanie #java #spring jak odpalic spring bootowego jara w trybie hmm jakby to nazwac "detached"? W sensie zeby aplikacja jarowa chodizla nawet po zamknieciu terminala
  • Najlepsze
  • Wszystkie komentarze
asciiterror
@htfhere: @csmth:

Please, to anyone reading this: running a node.js server inside a screen or tmux session is an AMATEUR solution! Don't do that, unless for quick tests. To keep a process running you need to daemonize it! Use proper tools for it

komentarz w https://stackoverflow.com/a/4797069
asciiterror
@htfhere: spróbuj z & na końcu polecenia, albo nohup &
asciiterror
@htfhere: reboot :D
& zwróciło ci liczbę - PID, to możesz kill
ppawel
@htfhere: ps -> grep -> kill ( ͡° ͜ʖ ͡°)
csmth
csmth
csmth
1
@htfhere: możesz zapoznać się jak działa screen albo tmux
badAttitude
@htfhere googluj: spring boot daemon albo run spring boot as service
htfhere
htfhere Autor
0
@asciiterror: yeey chodzi! a jak ja teraz zatrzymac z poziomu terminala? :D
htfhere
htfhere Autor
0
@asciiterror:
@ppawel: dzieki chlopaki, zaczynam wlasnie zabawe z serwerami i jak to w tego typu sprawach czasami zdarza sie zaciac na jakiejs glupocie
htfhere
htfhere Autor
0
@csmth: o dzieki, napewno rzuce okiem!
cypo
cypo
0
@htfhere: screen albo nohup najszybciej :)
P.....s
P.....s
jak uruchomi jako proces w tle poprzez & to po wyjściu z ssh raczej się zamknie apka wiec to słaby pomysł xd