Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Identify the location of the Aviso executable:

    Code Block
    languagebash
    themeDJango
    user@local whereis aviso


  2. Create a system service unit, by creating the following file in /etc/systemd/system/aviso.service:

    Code Block
    languageyml
    [Unit]​
    Description=Aviso​
    
    [Service]​
    User=<username> (if omitted it will run as root)
    Group=<groupname>
    WorkingDirectory=<home_directory> (optional)
    ExecStart=<aviso_location> listen​
    
    [Install]​
    WantedBy=multi-user.target​

  3. Reload systemd:

    Code Block
    languagebash
    themeDJango
    user@local sudo systemctl daemon-reload​


  4. Start the service:

    Code Block
    languagebash
    themeDJango
    user@local sudo systemctl start aviso.service


Note that if the user changes the users change Aviso configuration the , Aviso service must be restarted otherwise the change will be ineffective.