This is a simple proof of concept for doing Ombi updates live. The requirements to use this are:
- You must have Ombi already installed and it must be running (obviously, since Ombi kicks off the update)
- You must be using systemd to manage Ombi
- The user that Ombi runs as must have permissions to run
systemctl restart
- Use
visudo
to edit your sudoers and add a line like:ombiuser ALL=NOPASSWD: /bin/systemctl restart ombi.service
- Use
Where ombiuser is the user Ombi runs as. You should also sanity check your system to make sure that systemctl
is at /bin/systemctl
and that your Ombi unti file is called ombi.service
.