Keeping your services running (connectd package)


These instructions are valid for any Linux system which supports:

  • the connectd package
  • systemctl
  • cron

Add commands to start connectd daemons to your root crontab

The connectd daemon is very stable and it is extraordinarily rare for it to crash spontaneously.  That said, if one is killed directly for some reason, it will not automatically restart if you are using the connectd package.  The commands given below will run every 5 minutes by using the cron utility.  If any of your configured connectd daemons is not running, it will start at that time.

To edit the root crontab (a file containing commands to be run on a schedule on behalf of the "root" user), run:

sudo crontab -e

Add the following 2 lines, then save the file.

*/5 * * * * /usr/bin/connectd_start
*/5 * * * * /usr/bin/connectd_schannel start

Restart the cron daemon to enable the changes.

sudo systemctl restart cron
Was this article helpful?
0 out of 0 found this helpful