...
Identify the location of the Aviso executable:
Code Block language bash theme DJango user@local whereis aviso
Create a system service unit, by creating the following file in /etc/systemd/system/aviso.service:
Code Block language yml [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
Reload systemd:
Code Block language bash theme DJango user@local sudo systemctl daemon-reload
Start the service:
Code Block language bash theme DJango user@local sudo systemctl start aviso.service
Note
...
that
...
if
...
the
...
user
...
changes
...
the
...
Aviso
...
configuration
...
the
...
Aviso
...
service
...
must
...
be
...
restarted
...
otherwise
...
the
...
change
...
will
...
be
...
ineffective.
...