K
K
kliffi2019-02-22 03:14:16
linux
kliffi, 2019-02-22 03:14:16

Autostart of the program if closed?

Is there a function that constantly monitors or after a certain time the process? And if it is gone, then start the program again.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vladimir Mukovoz, 2019-02-22
@castomi

systemd

D
Dmitry, 2019-02-22
@hempy80

This function can be performed by the systemd or upstart init system, or additional software - monit, watchdog.

V
vlarkanov, 2019-02-22
@vlarkanov

Write systemd unit Restart=always

A
Alexander Chernykh, 2019-02-22
@sashkets

supervisord

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question