Forums
New posts
Search forums
What's new
New posts
Latest activity
Members
Registered members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Audio and Video Talk
Computers & Networking
LInux onboard keyboard challenge.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Help Support AVForums:
This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
Message
<blockquote data-quote="dekardy" data-source="post: 943271" data-attributes="member: 17916"><p>Easiest way is to create a configuration that will respawn the process. What version of Mint are you running:</p><p></p><p><strong>System V</strong></p><p><em>vi /etc/inittab</em></p><p><em>myprocess:2345:respawn:/bin/myprocess</em></p><p><em></em></p><p></p><p><strong>Systemd</strong></p><p><em>One writes a unit file in, say, /etc/systemd/system/myprocess.service:</em></p><p><em></em></p><p><em>[Unit]</em></p><p><em>Description=My Process</em></p><p><em></em></p><p><em>[Service]</em></p><p><em>ExecStart=/bin/myprocess</em></p><p><em>Restart=always</em></p><p><em></em></p><p><em>[Install]</em></p><p><em>WantedBy=multi-user.target</em></p><p><em>Enable this to autostart at bootup with:</em></p><p><em></em></p><p><em>systemctl enable myprocess.service</em></p><p><em>Start it manually with:</em></p><p><em></em></p><p><em>systemctl start myprocess.service</em></p><p><em></em></p><p></p><p>For reference I found above here,</p><p>https://superuser.com/questions/507576/how-to-automatically-restart-a-linux-background-process-if-it-fails</p></blockquote><p></p>
[QUOTE="dekardy, post: 943271, member: 17916"] Easiest way is to create a configuration that will respawn the process. What version of Mint are you running: [b]System V[/b] [i]vi /etc/inittab myprocess:2345:respawn:/bin/myprocess [/i] [b]Systemd[/b] [i]One writes a unit file in, say, /etc/systemd/system/myprocess.service: [Unit] Description=My Process [Service] ExecStart=/bin/myprocess Restart=always [Install] WantedBy=multi-user.target Enable this to autostart at bootup with: systemctl enable myprocess.service Start it manually with: systemctl start myprocess.service [/i] For reference I found above here, https://superuser.com/questions/507576/how-to-automatically-restart-a-linux-background-process-if-it-fails [/QUOTE]
Insert quotes…
Verification
Post reply
Audio and Video Talk
Computers & Networking
LInux onboard keyboard challenge.
Top