awsclient is executed periodically using the systemd service.

The necessary systemd service file is created during the onboarding process and below is an example:

[Unit]
Description=OSB connagtive IoT Device Suite AWS Client
After=network.target
 
[Service]
User=root
Environment="OPENSSL_CONF=/etc/ssl/opensslA71CH_i2c.cnf"
ExecStartPre=/bin/ping -c 3 -w 7 aws.amazon.com
ExecStart=/usr/bin/awsclient
WorkingDirectory=/config/os/aws/
TimeoutStartSec=15m
Restart=on-failure
RestartSec=1m
 
[Install]
WantedBy=multi-user.target

Example: /lib/systemd/system/awsclient.service

[Unit]
Description=Timer for executing OSB connagtive IoT device suite AWS Client periodically
 
[Timer]
OnActiveSec=1m
OnUnitActiveSec=5m
 
[Install]
WantedBy=basic.target

Example: /lib/systemd/system/awsclient.timer

To restart the awsclient you can execute:

systemctl restart awsclient

To check the status of awsclient, you can execute:

systemctl status awsclient.service