On this page
Typical setup example
The following is a typical step-by-step setup and install of a worker and manager as services:
- Unzip Network Rendering distribution anywhere
cd
into the unzipped distribution folder- Run basic setup:
% sudo ./setup.sh
- Copy the license file into “/var/local/share/KeyShot11NetworkResources/”
% cd bin
- Configure the manager via terminal prompts:
% ./keyshot_network_manager --config
Follow on-screen commands. - Configure the worker via terminal prompts:
% ./keyshot_network_worker --config
Follow on-screen commands. - Install the manager watchdog service:
# ./keyshot_network_manager_watchdog -install
- Install the worker watchdog service:
# ./keyshot_network_worker_watchdog -install
- Start the manager watchdog service:
% ./keyshot_network_manager_watchdog
- Start the worker watchdog service:
% ./keyshot_network_worker_watchdog
At this point, both the Network Rendering Manager and Worker services are running in the background.
Stop Services
- Open a Terminal
cd
into the installations bin folder- Stop the manager watchdog service:
% ./keyshot_network_manager_watchdog -terminate
- Stop the worker watchdog service:
% ./keyshot_network_worker_watchdog -terminate
Note
If you are running a SystemD service, remember to stop the SystemD before stopping the watchdogs.
Services via SystemD
Auto start Worker Service
- Browse to
cd /etc/systemd/system
- Create a file named ‘keyshot_network_worker_watchdog.service’ containing the following:
[Unit]
Description=KeyShot Network Rendering Worker Watchdog
Wants=network-online.target
After=network.target
[Service]
Type=forking
WorkingDirectory=/home/luxion/Documents/keyshot_network_11/bin/
User=luxion
ExecStart=/home/luxion/Documents/keyshot_network_11/bin/keyshot_network_worker_watchdog
ExecStop=/home/luxion/Documents/keyshot_network_11/bin/keyshot_network_worker_watchdog -terminate
Restart=always
[Install]
WantedBy=multi-user.target
Note
The luxion
is used as an example username. You will need to replace it with your actual username in User=
and in the filepaths.
- Reload the service file to include the newly created service
# systemctl daemon-reload
- To enable your Worker service on every reboot
% systemctl enable keyshot_network_worker_watchdog.service
- To start your service
% systemctl start keyshot_network_worker_watchdog.service
Auto start Manager Service
- Browse to
cd /etc/systemd/system
- Create a file named ‘keyshot_network_manager_watchdog.service’ containing the following:
[Unit]
Description=KeyShot Network Rendering Manager Watchdog
Wants=network-online.target
After=network.target
[Service]
Type=forking
WorkingDirectory=/home/luxion/Documents/keyshot_network_11/bin/
User=luxion
ExecStart=/home/luxion/Documents/keyshot_network_11/bin/keyshot_network_manager_watchdog
ExecStop=/home/luxion/Documents/keyshot_network_11/bin/keyshot_network_manager_watchdog -terminate
Restart=always
[Install]
WantedBy=multi-user.target
Note
The luxion
is used as an example username. You will need to replace it with your actual username in User=
and in the filepaths.
- Reload the service file to include the newly created service
# systemctl daemon-reload
- To enable your Manager service on every reboot
# systemctl enable keyshot_network_manager_watchdog.service
- To start your service
# systemctl start keyshot_network_manager_watchdog.service
Stop SystemD Services
- Open a Terminal
- To stop your Worker service
# systemctl stop keyshot_network_worker_watchdog.service
- To disable your Worker service on every reboot
# systemctl disable keyshot_network_worker_watchdog.service
- To stop your Manager service
# systemctl stop keyshot_network_manager_watchdog.service
- To disable your Manager service on every reboot
# systemctl disable keyshot_network_manager_watchdog.service