<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Ahoj,<div class=""><br class=""></div><div class="">mrkni jestli Ti nebude vyhovovat alternativa Monit <a href="https://mmonit.com/monit/" class="">https://mmonit.com/monit/</a> (<a href="https://packages.debian.org/stretch/monit" class="">https://packages.debian.org/stretch/monit</a>).</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Nikos</div><div class="">
<div><br class=""><blockquote type="cite" class=""><div class="">On 15 Jan 2018, at 00:23, Jakub Podlaha <<a href="mailto:j.podlaha@gmail.com" class="">j.podlaha@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Zdravim, <div class="">rad bych se zeptal, jak vytvorim na Debianu init script pro appku (vetsinou node.js) a nastavim ho aby se spoustel pri startu systemu. Aktualne pouzivam detasovany screen a v nem shell pro kazdou appku, ale nechce se mi vse manualne spoustet po kazdem "Neplanovanem vypdadku".</div><div class=""><br class=""></div><div class="">Uz jsem stravil nekolik hodin snahou dohledat, jak to v Debianu chodi. Zkusil jsem treba tenhle script: <a href="https://gist.github.com/peterhost/715255" class="">https://gist.github.com/peterhost/715255</a> (a nekolik dalsich) upravit a dat do /etc/init.d/my-simple. Dostavam chyby: </div><div class=""><br class=""></div><div class="">$ service my-simple start<br class=""><div class="">Failed to start my-simple.service: Unit my-simple.service failed to load: No such file or directory.</div></div><div class=""><div class="">$ update-rc.d "my-simple" enable</div><div class="">update-rc.d: error: no runlevel symlinks to modify, aborting!</div></div><div class=""><br class=""></div><div class="">Myslel jsem, ze .service soubory patri pod systemd a ze Debian pouziva init scripty a ze service je tool na spravu init scriptu podobne jako v Gentoo je treba rc-update. Chyby jsem zkousel googlit, ale nasel jsem jen problemy se spatne nainstalovanymi aplikacemi. </div><div class=""><br class=""></div><div class="">Jestli me muzete nakopnout, nebo poradit, budu rad. </div><div class=""><br class=""></div><div class="">Zdar, </div><div class="">Jakub</div><div class=""><br class=""></div></div>
_______________________________________________<br class="">Community-list mailing list<br class=""><a href="mailto:Community-list@lists.vpsfree.cz" class="">Community-list@lists.vpsfree.cz</a><br class="">http://lists.vpsfree.cz/listinfo/community-list<br class=""></div></blockquote></div><br class=""></div></body></html>