[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
gentoomen, how do I restart an app in unix? I am currently running
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 16
Thread images: 2
File: App-Terminal-icon.png (13 KB, 512x512) Image search: [Google]
App-Terminal-icon.png
13 KB, 512x512
gentoomen, how do I restart an app in unix? I am currently running a server that requires a particular process that crashes very often. This gives me the work of having to restart it everytime, manually. I'd like to know if there isn't a script or something that I can run in the background that would automatically restart the app once it crashed.
>>
sudo apt-get windows 10
>>
>>54362146
Install gentoo
>>
>>54362146
>that requires a particular process that crashes very often
fix/rewrite it you lazy cunt
>>
Go back to >>>/v/
>>
>>54362146

dpkg gentoo
>>
File: 448.jpg (325 KB, 860x700) Image search: [Google]
448.jpg
325 KB, 860x700
>>54362195
yeah nice meme faggot
>>
>>54362146
http://lmgtfy.com/?q=https%3A%2F%2Fwww.google.ro%2F%23safe%3Doff%26q%3Dlinux%2Brestart%2Bcrashing%2Bprocess
>>
Sounds like you need systemd.
It keeps track of processes and sub-processes and can easily be set to auto-restart a service that kills itself.
>>
>>54362192
It's not something I wrote to begin with. It is an actual process. I can't really mess with the source code. I think it might even be possible, but I'm not that good at programming.
>>
>>54362230

Like OP should
>>
>>54362226
>>>2011
>>
>>54362146

> app in unix
>>
>>54362257
I like to call it app. Process, if you will, but I've grown used to the former. Blame Steve.
>>
>>54362226
>literally googling an URL

what are you doing man
>>
>>54362313
What ? Have you opened it ?
Thread replies: 16
Thread images: 2

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.