Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added review comment: systemctl daemon-reload

...

  • Ensure that all paths in your Charon-PAR file are absolute paths.
  • Test your Charon-PAR configuration manually until satisfied that it is working correctly and your guest operating system services start as expected.
  • Copy /opt/charon/bin/charon-par.service to a local file. For example: <guest-name>.service
  • Adapt the service file to contain the correct paths to the Charon-PAR executable (/opt/charon/bin/charon-par) and the Charon-PAR configuration file. If you edit the file after it has been copied to the systemd directory, use systemctl daemon-reload to activate the changes.
  • Copy the service file to /etc/systemd/system.
  • Test a manual start of the service:
    # systemctl start <guest-name>
  • Check the status of the service:
    # systemctl status <guest-name>
  • Shut down the guest operating system if running.
  • Test a manual stop of the service:
    # systemctl stop <guest-name>
  • If everything worked as expected, enable the service for automatic startup:
    # systemctl enable <guest-name>

...