Dear Customers,

The PolySync Support Center is now just for submitting tickets to our support team. All articles and tutorials have been moved to the new PolySync Help Center and the content below will be removed shortly.

Thank you,
The PolySync Team

Starting PolySync Manager when the machine boots

In some instances it is desirable to have PolySync Manager start when the machine boots.

Crontab

The crontab utility on most Linux systems is designed to allow a user to trigger script a scheduled basis or on a per-event basis. To edit the crontab, log in as your normal user and open a terminal to execute the following.

$ crontab -e

Starting PolySync Manager At System Boot

To start PolySync Manager when the system boots add the following line to the crontab. Environment variables such as PSYNC_HOME cannot be used within crontab, you must supply an absolute file path to the script that starts the PolySync Manager. We've supplied a script in the PolySync install, which defaults to /usr/local/polysync

@reboot /usr/local/polysync/utils/polysync_start_manager.sh

Save and exit crontab. The next  machine boot PolySync Manager will be loaded and all enabled nodes will be spawned.

It's important that crontab is not edited as sudo-user, ensuring that PolySync nodes are spawned by the normal user account.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.