Apiary Platform maintenance

Use the following commands to manage the Platform:

  • sudo systemctl start hw-fh
  • sudo systemctl stop hw-fh
  • sudo systemctl restart hw-fh
  • sudo systemctl status hw-fh

where, hw-fh is the Platform service name.

Encrypt sensitive data

We strongly recommend you encrypt sensitive data that is stored on the Platform. Encrypt the whole disk, or one of the following directories:

```
/opt/
   /opt/hw-fh/
   /opt/hw-fh/data
   /opt/hw-fh/config
```

For encryption, you can use:

Configure seccomp security profile for Docker

  1. Open the file /opt/hw-fh/config/user.ini (root privileges are required);
  2. Add the option seccomp.profile to the [main] section and indicate path to the seccomp profile:

    [main]
    seccomp.profile = /path/to/seccomp_profile
    
  3. Run the following command to apply changes:

    /opt/hw-fh/bin/reconfig
    

More information about the seccomp.profile option you can find in the file /opt/hw-fh/config/user-template.ini.

Deletion of Apiary Platform

To delete Apiary Platform:

  1. Stop the platform:

    systemctl stop hw-fh
    
  2. Disable the platform services:

    systemctl disable hw-fh
    
  3. Delete the platform folder:

    rm -rf /opt/hw-fh
    
  4. Platform will be removed from the server.

See also