4.2. Restart a systemd service

Installation type Difficulty to do this

Running as a Systemd service

Easy

Running in a container

Not really possible to do.

4.2.1. Example config.yaml

actions:
  - title: Start httpd
    shell: systemctl start httpd

  - title: Stop httpd
    shell: systemctl stop httpd

  - title: Restart httpd
    shell: systemctl restart httpd