Skip to content

Notifiarr/workers

Repository files navigation

Notifiarr Workers

This is where you'll find the scripts and github action that create the worker package(s) for Notifiarr.

There's nothing very useful in this repo for the public.

System Package

GitHub Actions runs the build.sh script which turns the root/ folder into a deb package and uploads it to package cloud.

  • The package installs a number of dependencies, including telegraf, php, supervisor and nfs-client.
  • Also installed is a user named abc with an authorized_keys ssh file and a sudoers entry that allows the website to restart supervisor.
  • The systemd unit override allows us to create dynamic symlinks to the supervisor config files for this host.
  • The unit also overrides the supervisord.conf file so we can fully control the service and include php-built configs from /share.
  • Telegraf is also fully configured during package installation.

Use

First make sure the new Ubuntu 22.04 server's IP has access to the NFS /share.

Then run the included install script. Like this:

curl -sL https://raw.githubusercontent.com/Notifiarr/workers/main/install.sh | sudo bash

In addition to installing the notifiarr-worker package, the install.sh script installs and configures:

License

  • This software is Copyright 2024 Notifiarr, LLC.
  • Read the license if you intend to make copies.